Lines Matching refs:errors
134 $errors = array();
141 $errors = $this->saveUserTime($INPUT->arr('UserTime'), $dbUserValues);
144 if($INPUT->has('UserTime') && empty($errors)) {
150 $dialogHtml = $this->renderErrors($errors);
175 $errors = $this->saveUserTime($INPUT->arr('UserTime'), $dbUserValues);
178 if($INPUT->has('UserTime') && empty($errors)) {
184 $dialogHtml = $this->renderErrors($errors);
206 $errors = array();
223 $errors[] = sprintf($this->getLang('err_max_hours'),$date);
225 return $errors;
229 $errors = $this->validateUserTime($userTime);
231 if(empty($errors)) {
255 $errors[] = $res;
271 return $errors;
276 public function renderErrors($errors) { argument
277 if(!empty($errors)) {
278 return '<div class="errors">' . implode('<br>',$errors) . '</div>';