HOR-4547: Classic / Task / Properties / Case Labels
Warning: Declaration of XmlFormFieldTextareaPm::render($value, $owner) should be compatible with XmlFormField::render($value = NULL, $paramDummy2 = NULL) in /opt/processmaker/workflow/engine/classes/XmlFormFieldTextareaPm.php on line 86 Warning: Declaration of XmlFormFieldTextareaPm::renderGrid($owner, $values = NULL) should be compatible with XmlFormField::renderGrid($values = Array, $owner = NULL, $onlyValue = false, $therow = -1) in /opt/processmaker/workflow/engine/classes/XmlFormFieldTextareaPm.php on line 86
This commit is contained in:
@@ -384,8 +384,11 @@ class XmlFormField
|
|||||||
* @param string values
|
* @param string values
|
||||||
* @return string
|
* @return string
|
||||||
*/
|
*/
|
||||||
public function renderGrid($values = array(), $owner = null, $onlyValue = false, $therow = -1)
|
public function renderGrid($values = null, $owner = null, $onlyValue = false, $therow = -1)
|
||||||
{
|
{
|
||||||
|
if ($values === null) {
|
||||||
|
$values = [];
|
||||||
|
}
|
||||||
$result = [];
|
$result = [];
|
||||||
$r = 1;
|
$r = 1;
|
||||||
foreach ($values as $v) {
|
foreach ($values as $v) {
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ class XmlFormFieldTextareaPm extends XmlFormField
|
|||||||
* @param eter string owner
|
* @param eter string owner
|
||||||
* @return string
|
* @return string
|
||||||
*/
|
*/
|
||||||
public function render($value = null, $owner)
|
public function render($value = null, $owner = null)
|
||||||
{
|
{
|
||||||
if ($this->showVars == 1) {
|
if ($this->showVars == 1) {
|
||||||
$this->process = G::replaceDataField($this->process, $owner->values);
|
$this->process = G::replaceDataField($this->process, $owner->values);
|
||||||
@@ -53,8 +53,11 @@ class XmlFormFieldTextareaPm extends XmlFormField
|
|||||||
* @param eter string owner
|
* @param eter string owner
|
||||||
* @return string
|
* @return string
|
||||||
*/
|
*/
|
||||||
public function renderGrid($owner, $values = null)
|
public function renderGrid($owner = null, $values = null, $onlyValue = false, $therow = -1)
|
||||||
{
|
{
|
||||||
|
if ($values === null) {
|
||||||
|
$values = [];
|
||||||
|
}
|
||||||
$result = array();
|
$result = array();
|
||||||
$r = 1;
|
$r = 1;
|
||||||
foreach ($values as $v) {
|
foreach ($values as $v) {
|
||||||
|
|||||||
Reference in New Issue
Block a user