addElement( 'select', 'redirectPageId', array( 'label' => 'Redirect Page', 'required' => true, 'multioptions' => array('' => '- Select Page -') + $this->_getPages4Select() ) ); 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(); } }