コード例 #1
0
ファイル: ToasterDoc.php プロジェクト: shupp/toasterdoc
 /**
  * __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');
 }
コード例 #2
0
 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;
 }
コード例 #6
0
 function __construct($title, $author, $price)
 {
     parent::__construct($title, $author);
     $this->price = $price;
 }