Scopes en Javascript:
Si haces algo en plan:
var a = 10;
function foo() {
console.log(a);
}Scopes en Javascript:
Si haces algo en plan:
var a = 10;
function foo() {
console.log(a);
}| private function getAllFormErrors($children, $template = true) { | |
| foreach ($children as $child) { | |
| if ($child->hasErrors()) { | |
| $vars = $child->createView()->getVars(); | |
| $errors = $child->getErrors(); | |
| foreach ($errors as $error) { | |
| $this->allErrors[$vars["name"]][] = $this->convertFormErrorObjToString($error); | |
| } | |
| } |