示例#1
0
 /**
  * Initializes the media controller.
  *
  * @param \Aimeos\MShop\Context\Item\Iface $context MShop context object
  */
 public function __construct(\Aimeos\MShop\Context\Item\Iface $context)
 {
     parent::__construct($context, 'Price');
 }
示例#2
0
 /**
  * Initializes the attribute type controller.
  *
  * @param \Aimeos\MShop\Context\Item\Iface $context MShop context object
  */
 public function __construct(\Aimeos\MShop\Context\Item\Iface $context)
 {
     parent::__construct($context, 'Attribute_Type');
 }
示例#3
0
 /**
  * Initializes the customer group controller.
  *
  * @param \Aimeos\MShop\Context\Item\Iface $context MShop context object
  */
 public function __construct(\Aimeos\MShop\Context\Item\Iface $context)
 {
     parent::__construct($context, 'Customer_Group');
 }
示例#4
0
 /**
  * Initializes the supplier list type controller.
  *
  * @param \Aimeos\MShop\Context\Item\Iface $context MShop context object
  */
 public function __construct(\Aimeos\MShop\Context\Item\Iface $context)
 {
     parent::__construct($context, 'Supplier_Lists_Type');
 }
示例#5
0
 /**
  * Initializes the catalog list controller.
  *
  * @param \Aimeos\MShop\Context\Item\Iface $context MShop context object
  */
 public function __construct(\Aimeos\MShop\Context\Item\Iface $context)
 {
     parent::__construct($context, 'Catalog_Lists');
 }
示例#6
0
 /**
  * Initializes the currency controller.
  *
  * @param \Aimeos\MShop\Context\Item\Iface $context MShop context object
  */
 public function __construct(\Aimeos\MShop\Context\Item\Iface $context)
 {
     parent::__construct($context, 'Locale_Currency');
     $this->manager = \Aimeos\MShop\Locale\Manager\Factory::createManager($context)->getSubManager('currency');
 }
示例#7
0
 /**
  * Returns the service description of the class.
  * It describes the class methods and its parameters including their types
  *
  * @return array Associative list of class/method names, their parameters and types
  */
 public function getServiceDescription()
 {
     $smd = parent::getServiceDescription();
     $smd['Media.uploadItem'] = array("parameters" => array(array("type" => "string", "name" => "site", "optional" => false), array("type" => "string", "name" => "domain", "optional" => false)), "returns" => "array");
     return $smd;
 }
示例#8
0
 /**
  * Returns the service description of the class.
  * It describes the class methods and its parameters including their types
  *
  * @return array Associative list of class/method names, their parameters and types
  */
 public function getServiceDescription()
 {
     $list = parent::getServiceDescription();
     $list['Coupon_Code.uploadFile'] = array("parameters" => array(array("type" => "string", "name" => "site", "optional" => false), array("type" => "string", "name" => "couponid", "optional" => false)), "returns" => "array");
     $list['Coupon_Code.importFile'] = array("parameters" => array(array("type" => "string", "name" => "site", "optional" => false), array("type" => "string", "name" => "couponid", "optional" => false), array("type" => "array", "name" => "items", "optional" => false)), "returns" => "array");
     return $list;
 }
示例#9
0
 /**
  * Initializes the order base service attribute controller.
  *
  * @param \Aimeos\MShop\Context\Item\Iface $context MShop context object
  */
 public function __construct(\Aimeos\MShop\Context\Item\Iface $context)
 {
     parent::__construct($context, 'Order_Base_Service_Attribute');
 }
示例#10
0
 /**
  * Initializes the product property type controller.
  *
  * @param \Aimeos\MShop\Context\Item\Iface $context MShop context object
  */
 public function __construct(\Aimeos\MShop\Context\Item\Iface $context)
 {
     parent::__construct($context, 'Product_Property_Type');
 }
示例#11
0
 /**
  * Returns the service description of the class.
  * It describes the class methods and its parameters including their types
  *
  * @return array Associative list of class/method names, their parameters and types
  */
 public function getServiceDescription()
 {
     $desc = parent::getServiceDescription();
     $catdesc = array('Catalog.getTree' => array("parameters" => array(array("type" => "string", "name" => "site", "optional" => false), array("type" => "array", "name" => "items", "optional" => false)), "returns" => "array"), 'Catalog.insertItems' => array("parameters" => array(array("type" => "string", "name" => "site", "optional" => false), array("type" => "array", "name" => "items", "optional" => false), array("type" => "string", "name" => "parentid", "optional" => true), array("type" => "string", "name" => "refid", "optional" => true)), "returns" => "array"), 'Catalog.moveItems' => array("parameters" => array(array("type" => "string", "name" => "site", "optional" => false), array("type" => "array", "name" => "items", "optional" => false), array("type" => "string", "name" => "oldparentid", "optional" => false), array("type" => "string", "name" => "newparentid", "optional" => false), array("type" => "string", "name" => "refid", "optional" => true)), "returns" => "array"));
     return array_merge($desc, $catdesc);
 }
示例#12
0
 /**
  * Initializes the Order base address controller.
  *
  * @param \Aimeos\MShop\Context\Item\Iface $context MShop context object
  */
 public function __construct(\Aimeos\MShop\Context\Item\Iface $context)
 {
     parent::__construct($context, 'Order_Base_Address');
 }
示例#13
0
 /**
  * Initializes the language controller.
  *
  * @param \Aimeos\MShop\Context\Item\Iface $context MShop context object
  */
 public function __construct(\Aimeos\MShop\Context\Item\Iface $context)
 {
     parent::__construct($context, 'Locale_Language');
 }
示例#14
0
 /**
  * Initializes the log controller.
  *
  * @param \Aimeos\MShop\Context\Item\Iface $context MShop context object
  */
 public function __construct(\Aimeos\MShop\Context\Item\Iface $context)
 {
     parent::__construct($context, 'Admin_Log');
     $this->manager = \Aimeos\MAdmin\Log\Manager\Factory::createManager($context);
 }
示例#15
0
 /**
  * Initializes the product stock warehouse controller.
  *
  * @param \Aimeos\MShop\Context\Item\Iface $context MShop context object
  */
 public function __construct(\Aimeos\MShop\Context\Item\Iface $context)
 {
     parent::__construct($context, 'Product_Stock_Warehouse');
 }
示例#16
0
 /**
  * Returns the service description of the class.
  * It describes the class methods and its parameters including their types
  *
  * @return array Associative list of class/method names, their parameters and types
  */
 public function getServiceDescription()
 {
     $list = parent::getServiceDescription();
     $list['Admin_Cache.flush'] = array("parameters" => array(array("type" => "string", "name" => "site", "optional" => false)), "returns" => "array");
     return $list;
 }