Example #1
0
 public function __construct()
 {
     parent::__construct();
     $this->setTemplate('forms/tabs/constructor/type/date.phtml');
 }
Example #2
0
 protected function _prepareLayout()
 {
     $this->setChild('add_select_row_button', $this->getLayout()->createBlock('adminhtml/widget_button')->setData(array('label' => $this->_helper()->__('Add New'), 'class' => 'add add-select-row', 'id' => 'add_select_row_button_{{field_id}}')));
     $this->setChild('delete_select_row_button', $this->getLayout()->createBlock('adminhtml/widget_button')->setData(array('label' => $this->_helper()->__('Delete'), 'class' => 'delete delete-select-row')));
     return parent::_prepareLayout();
 }