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

@ -53,7 +53,7 @@ class XmlLangParser extends XmlParser
* @param string $lang_type
* @return void
*/
function XmlLangParser($xml_file, $lang_type)
function __construct($xml_file, $lang_type)
{
$this->lang_type = $lang_type;
$this->xml_file = $xml_file;