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

@ -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;