예제 #1
0
 public function setStore($store)
 {
     if ($store != null) {
         // not optimal, probably should be in parent
         parent::setStore($store);
         $this->__revokeToken();
     }
 }
예제 #2
0
 public function __construct($product, $store, $designs = array())
 {
     $this->__product = $product;
     parent::__construct($store);
     if (!empty($designs)) {
         $this->__designs = $designs;
         $this->addDesigns();
     }
 }
예제 #3
0
 public function __construct($imagePath, $store)
 {
     $this->__imagePath = $imagePath;
     parent::__construct($store);
     $this->create();
 }
예제 #4
0
 public function __construct($merchandiseId, $store)
 {
     $this->__merchandiseId = $merchandiseId;
     parent::__construct($store);
     $this->create();
 }