Complete the change of name for XmlFormField classes.
This commit is contained in:
David Callizaya
2017-08-14 15:53:48 -04:00
parent 21ba72af7f
commit 3b53ef4d9c
25 changed files with 195 additions and 384 deletions

View File

@@ -0,0 +1,22 @@
<?php
/**
* XmlFormFieldpopupOption - XmlFormFieldPopupOption class
*
* @package workflow.engine.ProcessMaker
*/
class XmlFormFieldPopupOption extends XmlFormField
{
public $launch = '';
/**
* Get Events
*
* @return string
*/
public function getEvents()
{
$script = '{name:"' . $this->name . '",text:"' . addcslashes($this->label, '\\"') . '", launch:leimnud.closure({Function:function(target){' . $this->launch . '}, args:target})}';
return $script;
}
}