/** * 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'); }
/** * 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'); }
/** * 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'); }
/** * 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'); }
/** * 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'); }
/** * 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'); }
/** * 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; }
/** * 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; }
/** * 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'); }
/** * 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'); }
/** * 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); }
/** * 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'); }
/** * 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'); }
/** * 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); }
/** * 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'); }
/** * 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; }