コード例 #1
0
 /**
  * Create new instance.
  *
  * @param string requestId Catalog requestId.
  * @param string name The name.
  * @param int active Active flag; example: <code>ACTIVE_CATEGORY|ACTIVE_PRODUCT</code>; default is <code>0</code>.
  */
 public function __construct($catalogRequestId, $name, $active = 0)
 {
     parent::__construct($catalogRequestId);
     $this->catalogRequestId = $catalogRequestId;
     $this->name = $name;
     $this->active = $active;
 }
コード例 #2
0
 /**
  * Create new instance.
  */
 public function __construct()
 {
     parent::__construct();
     $this->autoSearch = true;
 }
コード例 #3
0
 /**
  * Create new instance.
  */
 public function __construct()
 {
     parent::__construct('multi_quantity_product_info');
 }
コード例 #4
0
 /**
  * Create new instance.
  */
 public function __construct()
 {
     parent::__construct();
     $this->createDefaultAddress = true;
 }
コード例 #5
0
 /**
  * Create a new instance.
  *
  * @param mixed plugin The parent plugin.
  */
 public function __construct($plugin)
 {
     parent::__construct();
     $this->plugin = $plugin;
 }