HCE Project DC service web UI  0.2
Hierarchical Cluster Engine DC service web UI
 All Classes Namespaces Files Functions Variables Pages
_errorsFields.php
Go to the documentation of this file.
1 <?php
2 if (!empty($model)) {
3  $header = !empty($header) ? $header : null;
4  $footer = !empty($footer) ? $footer : null;
5  $htmlOptions = !empty($htmlOptions) ? $htmlOptions : array();
6  $errors = CHtml::errorSummary($model, $header, $footer, $htmlOptions);
7  if (!empty($errors)) {
8  echo $errors;
9  }
10 }