Lines Matching refs:errors
33 public function find_affected(&$errors, $path = array()) { argument
44 add_error($errors, $this->name, array('loop' => $loop));
51 $link->find_affected($errors, $path);
61 public function mark_invalid(&$errors) { argument
65 add_error($errors, $link->name(),
67 if ($link->valid) $link->mark_invalid($errors);
98 private $errors = array(); variable in Maker
111 public function errors() { return $this->errors; } function in Maker
127 $this->errors = array();
170 foreach ($this->nodes as $node) $node->find_affected($this->errors);
172 $errors = array_intersect(array_keys($this->errors),
174 foreach ($errors as $name)
175 $this->nodes[$name]->mark_invalid($this->errors);
176 $invalid = array_keys($this->errors);
214 foreach ($this->errors as $name => $error)
293 $node->mark_invalid($this->errors);
319 add_error($this->errors, $name, $error);
324 $errors = array();
326 $order = array_merge($order, $node->affect($errors));
331 function add_error(&$errors, $name, $error) { argument
332 if (!isset($errors[$name]))
333 $errors[$name] = array($error);
335 $errors[$name][] = $error;