mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-22 18:18:46 +02:00
Prerequisites to the custom fields
SVN:trunk[3940]
This commit is contained in:
@@ -31,6 +31,7 @@ use \Combodo\iTop\Form\Field\Field;
|
||||
class Form
|
||||
{
|
||||
protected $sId;
|
||||
protected $sTransactionId;
|
||||
protected $aFields;
|
||||
protected $aDependencies;
|
||||
protected $bValid;
|
||||
@@ -44,6 +45,7 @@ class Form
|
||||
public function __construct($sId)
|
||||
{
|
||||
$this->sId = $sId;
|
||||
$this->sTransactionId = null;
|
||||
$this->aFields = array();
|
||||
$this->aDependencies = array();
|
||||
$this->bValid = true;
|
||||
@@ -59,6 +61,26 @@ class Form
|
||||
return $this->sId;
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function GetTransactionId()
|
||||
{
|
||||
return $this->sTransactionId;
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @param string $sTransactionId
|
||||
* @return \Combodo\iTop\Form\Form
|
||||
*/
|
||||
public function SetTransactionId($sTransactionId)
|
||||
{
|
||||
$this->sTransactionId = $sTransactionId;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @return array
|
||||
|
||||
Reference in New Issue
Block a user