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