Beispiel #1
0
 /**
  * Return list of form fields
  *
  * @param boolean $onlyNames Flag; return objects or only the indexes OPTIONAL
  *
  * @return array
  */
 protected function getFormFields($onlyNames = false)
 {
     if (!isset($this->formFields)) {
         // Prepare default form fields
         $this->prepareDefaultFormFields();
     }
     return parent::getFormFields($onlyNames);
 }