コード例 #1
0
 public function __construct($id = NULL, $address = [], $postal = [])
 {
     parent::__construct();
     if ($id) {
         $this->id = $id;
     }
     $this->address = $address;
     $this->postal = $postal;
 }
コード例 #2
0
 public function __construct($id = NULL, array $number = [], array $types = [])
 {
     parent::__construct();
     if ($id) {
         $this->id = $id;
     }
     $this->number = $number;
     $this->types = $types;
 }
コード例 #3
0
 public function __construct($lastInsertId = '')
 {
     parent::__construct();
     $this->productId = $lastInsertId;
     $this->path = Path::IMG_UPLOAD_DIR . $this->productId . '/';
 }
コード例 #4
0
 public function __construct($login = '', $password = '')
 {
     parent::__construct();
     $this->login = $login;
     $this->password = $password;
 }