64 private $_requiredProperties = array(
'name',
'component');
79 foreach ($args as $key =>
$value) {
80 if (property_exists($this, $key)) {
94 fatalError(
'Form field configuration did not pass validation: ' . print_r($this,
true));
97 'name' => $this->name,
98 'component' => $this->component,
99 'label' => $this->label,
101 if (isset($this->description)) {
104 if (isset($this->tooltip)) {
107 if (isset($this->helpTopic)) {
109 if ($this->helpSection) {
113 if (isset($this->groupId)) {
116 if (isset($this->isRequired)) {
119 if (isset($this->isMultilingual)) {
122 if (isset($this->showWhen)) {
125 if (isset($this->value)) {
127 } elseif (isset($this->
default)) {
141 foreach ($this->_requiredProperties as $property) {
142 if (!isset($this->{$property})) {