/** * Constructor * @see LeftAndMain::__construct() */ public function __construct() { parent::__construct(); //Work around to allow dynamic path Config::inst()->update('CodeBank', 'menu_icon', CB_DIR . '/images/menu-icon.png'); }
function __construct() { $this->result_actions = new FieldSet(new FormAction('export', _t('GenericDataAdmin.EXPORTCSV', 'Export as CSV'))); parent::__construct(); }