예제 #1
0
파일: address.php 프로젝트: swk/bluebox
 protected function viewSetup()
 {
     parent::viewSetup();
     // Load the states array to the view
     $this->subview->states = self::$states;
     return TRUE;
 }
예제 #2
0
파일: welcomemail.php 프로젝트: swk/bluebox
 protected function viewSetup()
 {
     parent::viewSetup();
     // Load the states array to the view
     $this->subview->test = "Welcome email";
     return TRUE;
 }
예제 #3
0
파일: mediaoption.php 프로젝트: swk/bluebox
 protected function viewSetup()
 {
     if (!parent::viewSetup()) {
         return FALSE;
     }
     $this->subview->render_conditional = array('qtipAjaxForm' => FALSE, 'ajax' => FALSE);
     return TRUE;
 }
예제 #4
0
파일: directory.php 프로젝트: swk/bluebox
 protected function viewSetup()
 {
     parent::viewSetup();
     $dropdown = array();
     $rec = Doctrine::getTable('Grouping')->findOneBylevel(0);
     $dropdown[$rec->grouping_id] = str_repeat(" ", $rec->level * 5) . $rec->name;
     foreach ($rec->getNode()->getDescendants() as $desc) {
         //$dropdown[$desc->grouping_id]=$desc->name;
         $dropdown[$desc->grouping_id] = str_repeat(" ", $desc->level * 5) . $desc->name;
     }
     // Load the states array to the view
     $this->subview->groupings = $dropdown;
     return TRUE;
 }