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

@ -260,7 +260,7 @@ class EmbedFilter
* @constructor
* @return void
*/
function EmbedFilter()
function __construct()
{
$this->_makeWhiteDomainList();

View file

@ -9,7 +9,7 @@ class Purifier
private $_config;
private $_def;
public function Purifier()
public function __construct()
{
$this->_checkCacheDir();

View file

@ -22,7 +22,7 @@ class Security
* @param mixed $var Target context
* @return void
*/
function Security($var = NULL)
function __construct($var = NULL)
{
$this->_targetVar = $var;
}