mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-08 19:42:15 +09:00
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:
commit
a7ed4c56c8
88 changed files with 114 additions and 114 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ class member extends ModuleObject {
|
|||
*
|
||||
* @return void
|
||||
*/
|
||||
function member()
|
||||
function __construct()
|
||||
{
|
||||
if(!Context::isInstalled()) return;
|
||||
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue