CustomFields : Bootstrap integration

SVN:trunk[3944]
This commit is contained in:
Guillaume Lajarige
2016-03-11 12:42:21 +00:00
parent e6887ab317
commit 7ea5176b56
11 changed files with 413 additions and 84 deletions

View File

@@ -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