Example #1
0
 public function __construct($page_name = '', $template = '', $layout = '')
 {
     parent::__construct($template);
     $this->setPageName($page_name);
     $this->setLayout($layout);
 }
 public function getAsString()
 {
     $this->assign('__Row', $this->_Row);
     $this->assign('__data', $this->_Row->data);
     $this->assign('__fields', $this->_fields);
     $this->assign('__links', $this->_links);
     $this->assign('__general_actions', $this->_general_actions);
     return parent::getAsString();
 }
Example #3
0
 /**
  * Display the selected template with the given data and customization
  * @return void
  */
 public function getAsString()
 {
     $this->assign('__rows', $this->_rows);
     $this->assign('__rows_count', $this->_rows_count);
     $this->assign('__fields', $this->_fields);
     $this->assign('__links', $this->_links);
     $this->assign('__actions', $this->_actions);
     $this->assign('__prefix', $this->_prefix);
     $this->assign('__row_id', $this->_row_id);
     $this->assign('__filters', $this->_filters);
     $this->assign('__general_actions', $this->_general_actions);
     $this->assign('__actions_overflow_trigger', $this->_actions_overflow_trigger);
     $this->assign('__order_by', $this->_order_by);
     $this->assign('__selected_order_by', $this->_selected_order_field);
     $this->assign('__selected_order', $this->_selected_order);
     return parent::getAsString();
 }