コード例 #1
0
 function form_errors(FormField $formField, array $options = array())
 {
     return $formField->render($options, false, false, true);
 }
コード例 #2
0
 /**
  * @param array $options
  * @param bool  $showLabel
  * @param bool  $showField
  * @param bool  $showError
  * @return string
  */
 public function render(array $options = array(), $showLabel = true, $showField = true, $showError = true)
 {
     $options['children'] = $this->children;
     return parent::render($options, $showLabel, $showField, $showError);
 }