Fluent interface for TreeDropdownField

This commit is contained in:
Ingo Schommer 2013-01-08 18:32:40 +01:00
parent 79997477b3
commit 61cc033304

View File

@ -159,6 +159,7 @@ class TreeDropdownField extends FormField {
*/
public function setChildrenMethod($method) {
$this->childrenMethod = $method;
return $this;
}
/**
@ -296,6 +297,7 @@ class TreeDropdownField extends FormField {
*/
public function setLabelField($field) {
$this->labelField = $field;
return $this;
}
/**
@ -310,6 +312,7 @@ class TreeDropdownField extends FormField {
*/
public function setKeyField($field) {
$this->keyField = $field;
return $this;
}
/**
@ -324,6 +327,7 @@ class TreeDropdownField extends FormField {
*/
public function setSourceObject($class) {
$this->sourceObject = $class;
return $this;
}
/**