Esempio n. 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');
 }
Esempio n. 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');
 }
Esempio n. 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');
 }
Esempio n. 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');
 }
Esempio n. 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');
 }
Esempio n. 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');
 }
Esempio n. 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;
 }
Esempio n. 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;
 }
Esempio n. 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');
 }
Esempio n. 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');
 }
Esempio n. 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);
 }
Esempio n. 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');
 }
Esempio n. 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');
 }
Esempio n. 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);
 }
Esempio n. 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');
 }
Esempio n. 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;
 }