コード例 #1
0
ファイル: Shipment.php プロジェクト: haegyung/xe-module-shop
 /**
  * save function
  * @return object
  */
 public function save()
 {
     return $this->shipment_srl ? $this->repo->update($this) : $this->repo->insert($this);
 }
コード例 #2
0
ファイル: shop.view.php プロジェクト: haegyung/xe-module-shop
 public function dispShopToolManageShipments()
 {
     $repo = new ShipmentRepository();
     $shipments = $repo->getList($this->module_info->module_srl);
     Context::set('shipments', $shipments->data);
     Context::set('page_navigation', $shipments->page_navigation);
 }