PHP 5 방식의 생성자 (__construct) 사용

This commit is contained in:
Kijin Sung 2015-04-01 11:30:04 +09:00
parent 73178c94bb
commit 15d3ba7ca1
88 changed files with 113 additions and 113 deletions

View file

@ -32,9 +32,9 @@ class JoinTable extends Table
* @param array $conditions
* @return void
*/
function JoinTable($name, $alias, $join_type, $conditions)
function __construct($name, $alias, $join_type, $conditions)
{
parent::Table($name, $alias);
parent::__construct($name, $alias);
$this->join_type = $join_type;
$this->conditions = $conditions;
}