+--------------------------------------------------------------------+
| CiviCRM version 4.6 |
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2014 |
+ | Copyright CiviCRM LLC (c) 2004-2015 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
| GNU Affero General Public License or the licensing of CiviCRM, |
| see the CiviCRM license FAQ at http://civicrm.org/licensing |
+--------------------------------------------------------------------+
-*/
+ */
/**
*
* @package CRM
- * @copyright CiviCRM LLC (c) 2004-2014
+ * @copyright CiviCRM LLC (c) 2004-2015
* $Id$
*
*/
class CRM_Contact_Page_CustomSearch extends CRM_Core_Page {
/**
- * The action links that we need to display for the browse screen
+ * The action links that we need to display for the browse screen.
*
* @var array
- * @static
*/
static $_links = NULL;
/**
* Browse all custom searches.
*
- * @return content of the parents run method
- *
+ * @return mixed
+ * content of the parents run method
*/
- function browse() {
+ public function browse() {
$rows = self::info();
$this->assign('rows', $rows);
return parent::run();
*
* @return void
*/
- function run() {
+ public function run() {
$action = CRM_Utils_Request::retrieve('action',
'String',
$this, FALSE, 'browse'
$this->assign('action', $action);
return $this->browse();
}
-}
+}