Ticket #323 (closed Feature Request: fixed)
Validation library
| Reported by: | alexsancho | Owned by: | - No owner - |
|---|---|---|---|
| Priority: | major | Milestone: | 2.1 |
| Component: | Libraries:Validation | Version: | SVN HEAD |
| Keywords: | validation | Cc: |
Description
With current validation, it's no posible to validate data after library constructor, there should be another method to fill $this->data after contructor. I suggest to add and optional parameter to Validation::run
public function run(array $data = null)
{
if(!is_null($data)) $this->data =& $data;
....
}
Change History
Note: See
TracTickets for help on using
tickets.
