Example #1
0
 public function __construct($options = array())
 {
     parent::__construct($options);
     $this->options['current_state'] = 'listState';
     $this->options['list_button'] = new \Blog\MenuButton();
     $this->options['add_button'] = new \Blog\MenuButton();
     $this->options['table'] = new \Blog\Table();
     $this->options['form'] = new \Blog\Form();
 }
Example #2
0
 public function __construct($options = array())
 {
     parent::__construct($options);
     $this->options['model'] = new \Blog\TopicModel();
 }
Example #3
0
 public function __construct($options = array())
 {
     parent::__construct($options);
     $this->options['current_state'] = 'normalState';
 }