mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-24 11:08:45 +02:00
CustomFields : Bootstrap integration
SVN:trunk[3944]
This commit is contained in:
@@ -62,6 +62,24 @@ class Form
|
||||
return $this->sId;
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @param string $sId
|
||||
* @return \Combodo\iTop\Form\Form
|
||||
*/
|
||||
public function SetId($sId)
|
||||
{
|
||||
// Setting id for the form itself
|
||||
$this->sId = $sId;
|
||||
// Then setting formpath to its fields
|
||||
foreach ($this->aFields as $oField)
|
||||
{
|
||||
$oField->SetFormPath($sId);
|
||||
}
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @return string
|
||||
|
||||
Reference in New Issue
Block a user