Exemplo n.º 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();
 }
Exemplo n.º 2
0
 public function __construct($options = array())
 {
     parent::__construct($options);
     $this->options['model'] = new \Blog\TopicModel();
 }
Exemplo n.º 3
0
 public function __construct($options = array())
 {
     parent::__construct($options);
     $this->options['current_state'] = 'normalState';
 }