Пример #1
0
 protected function _build_content()
 {
     $this->add(new Bootstrap_Form_Element_Hidden(array('name' => 'csrf', 'value' => Security::token())));
     $this->_template->set('buttons', $this->_buttons);
     parent::_build_content();
 }
 protected function _build_content()
 {
     parent::_build_content();
     $this->_template->set('elements', $this->_elements);
 }
Пример #3
0
 protected function _build_content()
 {
     parent::_build_content();
     $this->_content = HTML::anchor($this->get('href'), $this->get('title'), $this->attributes()->as_array());
 }