コード例 #1
0
ファイル: Designer.php プロジェクト: neomantic/phreshpress
 public function __construct($product, $store, $designs = array())
 {
     $this->__product = $product;
     parent::__construct($store);
     if (!empty($designs)) {
         $this->__designs = $designs;
         $this->addDesigns();
     }
 }
コード例 #2
0
ファイル: User.php プロジェクト: neomantic/phreshpress
 public function __construct($email, $password, $store = null)
 {
     $this->__email = $email;
     $this->__password = $password;
     parent::__construct($store);
 }
コード例 #3
0
ファイル: Design.php プロジェクト: neomantic/phreshpress
 public function __construct($imagePath, $store)
 {
     $this->__imagePath = $imagePath;
     parent::__construct($store);
     $this->create();
 }
コード例 #4
0
ファイル: Product.php プロジェクト: neomantic/phreshpress
 public function __construct($merchandiseId, $store)
 {
     $this->__merchandiseId = $merchandiseId;
     parent::__construct($store);
     $this->create();
 }