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 commentItem extends Object
* @param array $columnList
* @return void
*/
function commentItem($comment_srl = 0, $columnList = array())
function __construct($comment_srl = 0, $columnList = array())
{
$this->comment_srl = $comment_srl;
$this->columnList = $columnList;

View file

@ -53,7 +53,7 @@ class documentItem extends Object
* @param array columnList
* @return void
*/
function documentItem($document_srl = 0, $load_extra_vars = true, $columnList = array())
function __construct($document_srl = 0, $load_extra_vars = true, $columnList = array())
{
$this->document_srl = $document_srl;
$this->columnList = $columnList;

View file

@ -15,7 +15,7 @@ class emoticon extends EditorHandler
/**
* @brief editor_sequence and components out of the path
*/
function emoticon($editor_sequence, $component_path)
function __construct($editor_sequence, $component_path)
{
$this->editor_sequence = $editor_sequence;
$this->component_path = $component_path;

View file

@ -14,7 +14,7 @@ class image_gallery extends EditorHandler
/**
* @brief editor_sequence and components out of the path
*/
function image_gallery($editor_sequence, $component_path)
function __construct($editor_sequence, $component_path)
{
$this->editor_sequence = $editor_sequence;
$this->component_path = $component_path;

View file

@ -14,7 +14,7 @@ class image_link extends EditorHandler
/**
* @brief editor_sequence and components out of the path
*/
function image_link($editor_sequence, $component_path)
function __construct($editor_sequence, $component_path)
{
$this->editor_sequence = $editor_sequence;
$this->component_path = $component_path;

View file

@ -14,7 +14,7 @@ class poll_maker extends EditorHandler
/**
* @brief editor_sequence and components out of the path
*/
function poll_maker($editor_sequence, $component_path)
function __construct($editor_sequence, $component_path)
{
$this->editor_sequence = $editor_sequence;
$this->component_path = $component_path;

View file

@ -18,7 +18,7 @@ class member extends ModuleObject {
*
* @return void
*/
function member()
function __construct()
{
if(!Context::isInstalled()) return;

View file

@ -13,7 +13,7 @@ class session extends ModuleObject
var $lifetime = 18000;
var $session_started = false;
function session()
function __construct()
{
if(Context::isInstalled()) $this->session_started= true;
}