Пример #1
0
 /**
  * Initializes a new client decorator object.
  *
  * @param \Aimeos\Client\Html\Iface $client Client object
  * @param \Aimeos\MShop\Context\Item\Iface $context Context object with required objects
  * @param array $templatePaths Associative list of the file system paths to the core or the extensions as key
  * 	and a list of relative paths inside the core or the extension as values
  */
 public function __construct(\Aimeos\Client\Html\Iface $client, \Aimeos\MShop\Context\Item\Iface $context, array $templatePaths)
 {
     parent::__construct($context, $templatePaths);
     $this->client = $client;
 }
Пример #2
0
 /**
  * Initializes the object instance
  *
  * @param \Aimeos\MShop\Context\Item\Iface $context Context object with required objects
  * @param array $templatePaths Associative list of the file system paths to the core or the extensions as key
  * 	and a list of relative paths inside the core or the extension as values
  * @param \Aimeos\Client\Html\Iface $client Client object
  */
 public function __construct(\Aimeos\MShop\Context\Item\Iface $context, array $templatePaths)
 {
     parent::__construct($context, $templatePaths);
 }