示例#1
0
文件: ordertax.php 项目: A-Bush/pprod
 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;
 }
示例#2
0
文件: payment.php 项目: A-Bush/pprod
 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;
 }
示例#3
0
文件: orders.php 项目: A-Bush/pprod
 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;
 }
示例#4
0
文件: shipping.php 项目: A-Bush/pprod
 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;
 }
示例#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;
 }
示例#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;
 }
示例#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;
 }