This commit is contained in:
Julio Cesar Laura Avendaño
2019-08-20 10:36:00 -04:00
parent 6aab41abc2
commit 2e07f7da55
5 changed files with 12 additions and 12 deletions

View File

@@ -76,11 +76,11 @@ class DynaformHandler
}
/**
* Function __cloneEmpty
* Function cloneEmpty
* @access public
* @return void
*/
public function __cloneEmpty()
public function cloneEmpty()
{
$xPath = new DOMXPath($this->dom);
$nodeList = $xPath->query('/dynaForm/*');

View File

@@ -51,7 +51,7 @@ class Xml_Node
* @param eter string attributes
* @return string
*/
public function Xml_Node ($name, $type, $value, $attributes = array())
public function __construct ($name, $type, $value, $attributes = array())
{
$this->name = $name;
$this->type = $type;
@@ -266,7 +266,7 @@ class Xml_Document extends Xml_Node
* @access public
* @return string
*/
public function Xml_Document ()
public function __construct ()
{
$this->currentNode = &$this;
}

View File

@@ -4509,7 +4509,7 @@ class XmlFormFieldDate extends XmlFormFieldSimpleText
//$this->defaultValue = G::replaceDataField( $this->defaultValue, $owner->values);
$id = "form[$this->name]";
return $this->__draw_widget($id, $value, $owner);
return $this->draw_widget($id, $value, $owner);
}
/**
@@ -4546,7 +4546,7 @@ class XmlFormFieldDate extends XmlFormFieldSimpleText
$html = '<input ' . $this->NSRequiredValue() . ' class="module_app_input___gray" ' . $this->NSGridType() . ' id="form[' . $owner->name . '][' . $r . '][' . $this->name . ']" name="form[' . $owner->name . '][' . $r . '][' . $this->name . ']" type ="text" size="' . $this->size . '" maxlength="' . $this->maxLength . '" value="' . $this->htmlentities($v, ENT_COMPAT, 'utf-8') . '" pm:required="' . $isRequired . '" style="display:none;' . htmlentities($this->style, ENT_COMPAT, 'utf-8') . '" />' . htmlentities($v, ENT_COMPAT, 'utf-8');
} else {
$id = 'form[' . $owner->name . '][' . $r . '][' . $this->name . ']';
$html = $this->__draw_widget($id, $v, $owner, true);
$html = $this->draw_widget($id, $v, $owner, true);
}
} else {
$html = $v;
@@ -4565,7 +4565,7 @@ class XmlFormFieldDate extends XmlFormFieldSimpleText
* @param $owner
* @return <String>
*/
public function __draw_widget($pID, $value, $owner = '', $inGrid = false)
public function draw_widget($pID, $value, $owner = '', $inGrid = false)
{
$startDate = G::replaceDataField($this->startDate, $owner->values);
$endDate = G::replaceDataField($this->endDate, $owner->values);
@@ -4957,7 +4957,7 @@ class XmlFormFieldDate5 extends XmlFormFieldSimpleText
}
//$this->defaultValue = G::replaceDataField( $this->defaultValue, $owner->values);
$id = "form[$this->name]";
return $this->__draw_widget($id, $value, $owner);
return $this->draw_widget($id, $value, $owner);
}
/**
@@ -4976,7 +4976,7 @@ class XmlFormFieldDate5 extends XmlFormFieldSimpleText
$v = ($v != '') ? G::replaceDataField($v, $owner->values) : $this->defaultValue;
if (!$onlyValue) {
$id = 'form[' . $owner->name . '][' . $r . '][' . $this->name . ']';
$html = $this->__draw_widget($id, $v, $owner);
$html = $this->draw_widget($id, $v, $owner);
} else {
$html = $v;
}
@@ -4994,7 +4994,7 @@ class XmlFormFieldDate5 extends XmlFormFieldSimpleText
* @param $owner
* @return <String>
*/
public function __draw_widget($pID, $value, $owner = '')
public function draw_widget($pID, $value, $owner = '')
{
/*for deprecated mask definitions...*/