'Select One', 'view' => 'View Profile', 'edit' => 'Edit Profile']; $this->addElement( 'select', 'defaultAction', [ 'label' => 'Default Action', 'multioptions' => $options, 'required' => true, ] ); return $this; } protected function _getPages4Select() { /** @var \Qs_Doc $doc */ $doc = Zend_Registry::get('doc'); $cms = new App_Cms_Obj(); if ($doc->getAuth()->getSuMode()) { $cms->setSuMode(); } return $cms->getPages4Select(); } }