/** * The constuctor * @param I2CE_Page $page * @param string $view * @throws Excecption on error */ public function __construct($page, $view) { parent::__construct($page, $view); $this->ff = I2CE_FormFactory::instance(); $this->selectid = $page->request('select_id'); $this->printf = $page->request('select_printf'); if ($page->request_exists('multi_select')) { $this->multi_select = $page->request('multi_select'); } else { $this->multi_select = false; } $this->printf_args = explode(",", $page->request('select_printfargs')); if (!($this->reportForm = $page->request('select_reportform'))) { $this->reportForm = 'primary_form'; } $page->getTemplate()->addHeaderLink('reportSelector.css'); }
/** * The constuctor * @param I2CE_Page $page * @param string $view * @throws Excecption on error */ public function __construct($page, $view) { parent::__construct($page, $view); $this->display = 'Default'; }