예제 #1
0
 /**
  * __construct 
  * 
  *  Constructor
  * 
  * @access protected
  * @return void
  */
 function __construct()
 {
     parent::__construct();
     $this->selectVarsrc();
     $this->loadVersions();
     ini_set('mbstring.internal_encoding', 'UTF-8');
     ini_set('mbstring.http_input', 'auto');
     ini_set('mbstring.http_output', 'UTF-8');
 }
 public function __construct()
 {
     parent::__construct();
     $this->book2 = 'Book2';
 }
예제 #3
0
 public function __construct($title, $price, $publisher)
 {
     parent::__construct($title, $price);
     $this->publisher = $publisher;
 }
예제 #4
0
파일: ebook.php 프로젝트: coolbacki/03_oop
 public function __construct($name, $author, $price, $catalogNumber, $size)
 {
     parent::__construct($name, $author, $price, $catalogNumber);
     $this->setSize($size);
 }
예제 #5
0
 public function __construct($author, $title, $quantity)
 {
     parent::__construct($author, $title);
     $this->quantity = $quantity;
 }
 function __construct($title, $author, $price)
 {
     parent::__construct($title, $author);
     $this->price = $price;
 }