Merge #1363 PHP 5 방식의 생성자 (__construct) 사용 by kijin

* pr/1363:
  ExtraItem 클래스에도 PHP 5 방식의 생성자 (__construct) 사용
  PHP 5 방식의 생성자 (__construct) 사용

Conflicts:
	classes/context/Context.class.php
This commit is contained in:
Kijin Sung 2015-10-08 14:10:32 +09:00
commit a7ed4c56c8
88 changed files with 114 additions and 114 deletions

View file

@ -30,7 +30,7 @@ class CacheApc extends CacheBase
*
* @return void
*/
function CacheApc()
function __construct()
{
}

View file

@ -35,7 +35,7 @@ class CacheFile extends CacheBase
*
* @return void
*/
function CacheFile()
function __construct()
{
$this->cache_dir = _XE_PATH_ . $this->cache_dir;
FileHandler::makeDir($this->cache_dir);

View file

@ -49,7 +49,7 @@ class CacheHandler extends Handler
* @param boolean $always_use_file If set true, use a file cache always
* @return CacheHandler
*/
function CacheHandler($target, $info = null, $always_use_file = false)
function __construct($target, $info = null, $always_use_file = false)
{
if(!$info)
{

View file

@ -36,7 +36,7 @@ class CacheMemcache extends CacheBase
* @param string $url url of memcache
* @return void
*/
function CacheMemcache($url)
function __construct($url)
{
//$config['url'] = array('memcache://localhost:11211');
$config['url'] = is_array($url) ? $url : array($url);

View file

@ -32,7 +32,7 @@ class CacheWincache extends CacheBase
*
* @return void
*/
function CacheWincache()
function __construct()
{
}