Merged in bugfix/PMC-1038 (pull request #7015)

PMC-1038

Approved-by: Julio Cesar Laura Avendaño <contact@julio-laura.com>
This commit is contained in:
Paula Quispe
2019-08-09 18:35:49 +00:00
committed by Julio Cesar Laura Avendaño
21 changed files with 57 additions and 54 deletions

View File

@@ -6,15 +6,13 @@
*/
class ReplacementLogo
{
//var $dir='';
/**
* This function is the constructor of the ReplacementLogo class
* param
*
* @return void
*/
public function replacementLogo ()
public function __construct()
{
}

View File

@@ -13,7 +13,7 @@ class XMLConnection
* @param string $file
* @return void
*/
public function XMLConnection($file)
public function __construct($file)
{
$this->xmldoc = new Xml_Document();
$this->xmldoc->parseXmlFile($file);

View File

@@ -14,9 +14,10 @@ class XMLResult
* XMLResult
*
* @param array $result
*
* @return void
*/
public function XMLResult ($result = array())
public function __construct($result = [])
{
$this->result = $result;
$this->cursor = 0;

View File

@@ -21,9 +21,10 @@ class XmlFormFieldToolBar extends XmlFormField
* @param string $lang
* @param string $home
* @param string $owner
*
* @return void
*/
public function XmlFormFieldToolBar($xmlNode, $lang = 'en', $home = '', $owner = ' ')
public function __construct($xmlNode, $lang = 'en', $home = '', $owner = ' ')
{
parent::__construct($xmlNode, $lang, $home, $owner);
$this->home = $home;

View File

@@ -19,7 +19,7 @@ require_once ("CURLMessage.php");
class FormatedMessage extends CURLMessage
{
public function FormatedMessage ()
public function __construct()
{
parent::__construct();
}

View File

@@ -22,7 +22,7 @@ class JsonMessage extends FormatedMessage
/**
* Call the parent Curl initialization and set the type of the message
*/
public function JsonMessage ()
public function __construct()
{
parent::__construct();
$this->type = "json";

View File

@@ -22,7 +22,7 @@ class RestMessage extends SimpleMessage
/**
* Call the parent Curl initialization and set the type of the message
*/
public function RestMessage ()
public function __construct()
{
parent::__construct();
$this->type = "rest";

View File

@@ -19,7 +19,7 @@ require_once ("CURLMessage.php");
class SimpleMessage extends CURLMessage
{
public function SimpleMessage ()
public function __construct()
{
parent::__construct();
}

View File

@@ -22,7 +22,7 @@ class XmlMessage extends FormatedMessage
/**
* Call the parent Curl initialization and set the type of the message
*/
public function XmlMessage ()
public function __construct()
{
parent::__construct();
$this->type = "xml";