예제 #1
0
 private function addToolBar()
 {
     $input = JFactory::getApplication()->input;
     $input->set('hidemainmenu', true);
     JToolBarHelper::title(FormatView::subPageTitle('COM_REOMI_ADMIN_VIEW_BULK_FEE_FORM_EDIT_TITLE'), null);
     JToolBarHelper::save('bulk_fee.save');
     JToolBarHelper::cancel('bulk_fee.cancel', 'JTOOLBAR_CLOSE');
 }
예제 #2
0
 public function display($tpl = null)
 {
     // Fetch all the row
     $model = $this->getModel();
     $model->getState();
     $model->setState('list.limit', 0);
     $this->cities = FormatView::wrap($this->get('Items'));
     parent::display($tpl);
 }
예제 #3
0
 public function display($tpl = null)
 {
     $this->users = FormatView::wrap($this->get('Users'));
     $this->cities = FormatView::wrap($this->get('Cities'));
     $raw_containers = $this->get('Containers');
     $raw_containers = $this->formatContainersTree($raw_containers);
     $this->containers = FormatView::wrap($raw_containers);
     $this->bulk = FormatView::wrap($this->get('Bulks'));
     parent::display($tpl);
 }
예제 #4
0
 public function display($tpl = null)
 {
     // Fetch all the row
     $model = $this->getModel();
     $model->getState();
     $model->setState('list.limit', 0);
     $raw_subscription_fees = $this->get('Items');
     $raw_collection_fees = $this->get('CollectionFees');
     $this->fees = FormatView::wrap($this->formatFeesTree($raw_subscription_fees, $raw_collection_fees));
     $this->bulk = $this->get('BulkFees');
     parent::display($tpl);
 }
예제 #5
0
 private function generateTitle()
 {
     return $this->isNew() ? FormatView::subPageTitle('COM_REOMI_ADMIN_VIEW_CITY_FORM_CREATE_TITLE') : FormatView::subPageTitle('COM_REOMI_ADMIN_VIEW_CITY_FORM_EDIT_TITLE');
 }
예제 #6
0
 public static function subPageTitle($sub_locale_key)
 {
     return FormatView::basePageTitle() . ': ' . JText::_($sub_locale_key);
 }