Forms: try to give dev UI more hints on fluent...
...code
This commit is contained in:
parent
035594beaa
commit
7a3a845570
|
@ -38,15 +38,16 @@ class IcingaHostForm extends DirectorObjectForm
|
||||||
->addAddressElements()
|
->addAddressElements()
|
||||||
->addDisabledElement()
|
->addDisabledElement()
|
||||||
->groupMainProperties()
|
->groupMainProperties()
|
||||||
->addClusteringElements()
|
->addClusteringElements();
|
||||||
->addCheckCommandElements()
|
|
||||||
|
$this->addCheckCommandElements()
|
||||||
->addCheckExecutionElements()
|
->addCheckExecutionElements()
|
||||||
->addExtraInfoElements()
|
->addExtraInfoElements()
|
||||||
->setButtons();
|
->setButtons();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return self
|
* @return $this
|
||||||
*/
|
*/
|
||||||
protected function addClusteringElements()
|
protected function addClusteringElements()
|
||||||
{
|
{
|
||||||
|
@ -127,7 +128,7 @@ class IcingaHostForm extends DirectorObjectForm
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return self
|
* @return $this
|
||||||
*/
|
*/
|
||||||
protected function addGroupsElement()
|
protected function addGroupsElement()
|
||||||
{
|
{
|
||||||
|
@ -153,7 +154,7 @@ class IcingaHostForm extends DirectorObjectForm
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return self
|
* @return $this
|
||||||
*/
|
*/
|
||||||
protected function addAddressElements()
|
protected function addAddressElements()
|
||||||
{
|
{
|
||||||
|
@ -178,7 +179,7 @@ class IcingaHostForm extends DirectorObjectForm
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return self
|
* @return $this
|
||||||
*/
|
*/
|
||||||
protected function addDisplayNameElement()
|
protected function addDisplayNameElement()
|
||||||
{
|
{
|
||||||
|
|
|
@ -372,7 +372,7 @@ abstract class DirectorObjectForm extends QuickForm
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return self
|
* @return $this
|
||||||
*/
|
*/
|
||||||
protected function groupMainProperties()
|
protected function groupMainProperties()
|
||||||
{
|
{
|
||||||
|
@ -1035,7 +1035,7 @@ abstract class DirectorObjectForm extends QuickForm
|
||||||
/**
|
/**
|
||||||
* @param bool $force
|
* @param bool $force
|
||||||
*
|
*
|
||||||
* @return self
|
* @return $this
|
||||||
*/
|
*/
|
||||||
protected function addCheckCommandElements($force = false)
|
protected function addCheckCommandElements($force = false)
|
||||||
{
|
{
|
||||||
|
@ -1268,7 +1268,7 @@ abstract class DirectorObjectForm extends QuickForm
|
||||||
*
|
*
|
||||||
* @param array $properties Form element properties
|
* @param array $properties Form element properties
|
||||||
*
|
*
|
||||||
* @return self
|
* @return $this
|
||||||
*/
|
*/
|
||||||
protected function addAssignFilter($properties)
|
protected function addAssignFilter($properties)
|
||||||
{
|
{
|
||||||
|
@ -1301,7 +1301,7 @@ abstract class DirectorObjectForm extends QuickForm
|
||||||
* @param string $name Element name
|
* @param string $name Element name
|
||||||
* @param array $properties Form element properties
|
* @param array $properties Form element properties
|
||||||
*
|
*
|
||||||
* @return self
|
* @return $this
|
||||||
*/
|
*/
|
||||||
protected function addFilterElement($name, $properties)
|
protected function addFilterElement($name, $properties)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue