Ticket #95 (closed enhancement: fixed)

Opened 6 months ago

Last modified 6 months ago

Allow to check if a request value has an error of a certain kind

Reported by: mikey Assigned to: mikey
Priority: major Milestone: 0.4.0
Component: Request Version: SVN-trunk
Keywords: Cc: rist

Description

Currently it is only possible to check if a request value got an error while filtering. To check for a specific error one must retrieve all errors from the request instance and loop through them. A better way would be a new method in the request class: public function hasValueErrorWithId($valueName, $errorId, $source = stubRequest::SOURCE_PARAM);

Change History

11/09/07 22:41:45 changed by mikey

  • status changed from new to closed.
  • resolution set to fixed.

Implemented with changeset 1021.