sfValidatorBase allows you to apply constraints to user entered parameters.
Method Summary
-
bool
execute(, )
Executes this validator.
-
sfContext
getContext()
Retrieves the current application context.
-
mixed
getParameter(, )
Retrieves a parameter from the validator.
-
sfParameterHolder
getParameterHolder()
Retrieves the parameters from the validator.
-
boolean
hasParameter()
Indicates whether or not a parameter exist for the validator.
-
bool
initialize(, )
Initializes this validator.
-
setParameter(, )
Sets a parameter for the validator.
-
__construct()
Class constructor.
Method Details
-
Executes this validator.
returns true, if this validator executes successfully, otherwise false
-
(sfContext) getContext ()
Browse code
Retrieves the current application context.
returns The current sfContext instance
-
(mixed) getParameter (, )
Browse code
Retrieves a parameter from the validator.
returns A parameter value
-
(sfParameterHolder) getParameterHolder ()
Browse code
Retrieves the parameters from the validator.
returns List of parameters
-
(boolean) hasParameter ()
Browse code
Indicates whether or not a parameter exist for the validator.
returns true, if parameter exists, otherwise false
-
(bool) initialize (, )
Browse code
Initializes this validator.
returns true, if initialization completes successfully, otherwise false
-
Sets a parameter for the validator.
-
Class constructor.
|