#403: make validators use the same initialition strategy as the rest of the
framework
-----------------------+----------------------------------------------------
Reporter: dominik | Owner: dominik
Type: task | Status: new
Priority: normal | Milestone: 0.11
Component: validator | Version: HEAD
Severity: blocker | Keywords: validation initialize constructor
-----------------------+----------------------------------------------------
The constructor will be replaced by using initialize and
setParentContainer (which both needs to be called before an validator can
be used). A new method createValidator($className, $arguments, $errors,
$parameters, $parent) will be added to retain an easy method to create a
new validator in the code. You are advised to always use that method and
not instantiating the validators manually.
--
Ticket URL: <http://trac.agavi.org/ticket/403>
Agavi <http://www.agavi.org/>
An MVC Framework for PHP5
_______________________________________________
Agavi Tickets Mailing List
[email protected]
http://lists.agavi.org/mailman/listinfo/tickets