fetch()) { if (trim($dao->description)) { $rows[$dao->value] = $dao->description; } else { $rows[$dao->value] = $dao->label; } } return $rows; } /** * Browse all custom searches. * * @return content of the parents run method * */ function browse() { $rows = self::info(); $this->assign('rows', $rows); return parent::run(); } /** * Run this page (figure out the action needed and perform it). * * @return void */ function run() { $action = CRM_Utils_Request::retrieve('action', 'String', $this, FALSE, 'browse' ); $this->assign('action', $action); return $this->browse(); } }