Example #1
0
 public function getList($refresh = false)
 {
     $list = parent::getList($refresh = false);
     // If no item in the list, return an array()
     if (empty($list)) {
         return array();
     }
     return $list;
 }
Example #2
0
 public function getList($refresh = false)
 {
     $list = parent::getList($refresh);
     foreach (@$list as $item) {
         $item->id = $item->extension_id;
         $item->link_edit = 'index.php?option=com_plugins&view=plugins&task=plugin.edit&extension_id=' . $item->id;
     }
     return $list;
 }
Example #3
0
 public function getList($refresh = false)
 {
     if (empty($this->_list)) {
         $list = parent::getList($refresh = false);
         if (empty($list)) {
             return array();
         }
         $this->_list = $list;
     }
     return $this->_list;
 }
Example #4
0
 public function getList($refresh = false)
 {
     $list = parent::getList($refresh);
     foreach (@$list as $item) {
         $item->id = $item->extension_id;
         $item->link = 'index.php?option=com_k2store&view=shipping&task=view&id=' . $item->id;
         $item->link_edit = 'index.php?option=com_k2store&view=shipping&task=edit&id=' . $item->id;
         $item->plugin_link_edit = "index.php?option=com_plugins&task=plugin.edit&extension_id={$item->id}";
     }
     return $list;
 }
Example #5
0
 public function getList($refresh = false)
 {
     $list = parent::getList($refresh);
     // If no item in the list, return an array()
     if (empty($list)) {
         return array();
     }
     foreach ($list as $item) {
         $item->link = 'index.php?option=com_k2store&view=shipping&task=view&id=' . JFactory::getApplication()->input->getInt('id') . '&shippingTask=view&sid=' . $item->shipping_method_id;
     }
     return $list;
 }
Example #6
0
 public function getList($refresh = false)
 {
     $list = parent::getList($refresh = false);
     // If no item in the list, return an array()
     if (empty($list)) {
         return array();
     }
     foreach ($list as $item) {
         $item->link_remove = 'index.php?option=com_k2store&view=optionvalues&task=delete&cid[]=' . $item->optionvalue_id;
     }
     return $list;
 }
Example #7
0
 public function getList($refresh = false)
 {
     $list = parent::getList($refresh = false);
     // If no item in the list, return an array()
     if (empty($list)) {
         return array();
     }
     foreach ($list as $item) {
         $item->link = 'index.php?option=com_k2store&view=orderitems&task=edit&id=' . $item->orderitem_id;
     }
     return $list;
 }