Exemple #1
0
 function display($tpl = null)
 {
     // Load the util helper
     $this->loadHelper('utils');
     // Add a spacer, a help button and show the template
     JToolBarHelper::spacer();
     parent::display($tpl);
 }
 public function display($tpl = null)
 {
     $app = JFactory::getApplication();
     $task = $app->input->getString('task');
     $id = $app->input->getInt('id');
     $model = $this->getModel('Promotions');
     $this->item = $model->getItem($id);
     parent::display($tpl);
 }
 public function display($tpl = null)
 {
     $app = JFactory::getApplication();
     $this->email = $app->input->getString('email_id');
     $this->item = F0FModel::getTmpInstance('Customers', 'J2StoreModel')->getAddressesByemail($this->email);
     $task = $app->input->getString('task');
     $this->currency = J2Store::currency();
     if ($task == 'viewOrder' && $this->email) {
         $this->addresses = F0FModel::getTmpInstance('Addresses', 'J2StoreModel')->email($this->email)->getList();
         $this->orders = F0FModel::getTmpInstance('Orders', 'J2StoreModel')->user_email($this->email)->getList();
     }
     JToolbarHelper::title(JTEXT::_('J2STORE_CUSTOMER_VIEW'));
     JToolbarHelper::cancel();
     return parent::display($tpl);
     //return true;
 }
Exemple #4
0
 public function display($tpl = null)
 {
     parent::display($tpl);
 }