Forms: try to give dev UI more hints on fluent...

...code
This commit is contained in:
Thomas Gelf 2017-01-13 13:15:01 +01:00
parent 035594beaa
commit 7a3a845570
2 changed files with 11 additions and 10 deletions

View File

@ -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()
{ {

View File

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