fetch()) { $url = 'civicrm/report/'; $rows[$dao->component_name][$dao->value]['title'] = $dao->label; $rows[$dao->component_name][$dao->value]['description'] = $dao->description; $rows[$dao->component_name][$dao->value]['url'] = CRM_Utils_System::url('civicrm/report/' . trim($dao->value, '/'), 'reset=1'); if ($dao->instance_id) { $rows[$dao->component_name][$dao->value]['instanceUrl'] = CRM_Utils_System::url('civicrm/report/instance/list', "reset=1&ovid={$dao->id}" ); } } return $rows; } /** * run this page (figure out the action needed and perform it). * * @return void */ function run() { $rows = self::info(); $this->assign('list', $rows); return parent::run(); } }