protected function viewSetup() { parent::viewSetup(); // Load the states array to the view $this->subview->states = self::$states; return TRUE; }
protected function viewSetup() { parent::viewSetup(); // Load the states array to the view $this->subview->test = "Welcome email"; return TRUE; }
protected function viewSetup() { if (!parent::viewSetup()) { return FALSE; } $this->subview->render_conditional = array('qtipAjaxForm' => FALSE, 'ajax' => FALSE); return TRUE; }
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; }