예제 #1
0
파일: db.php 프로젝트: dapepe/tymio
 public function __construct($conn = null)
 {
     parent::__construct($conn);
     $this->conn->trans_count++ || $this->conn->executeQuery('BEGIN');
 }
예제 #2
0
파일: bridge.php 프로젝트: adollar/patterns
 public function __construct(Father $father)
 {
     parent::__construct($father);
     $this->nameOfFather = "Vasya";
 }