-
Removes an error.
returns An error message, if the error was removed, otherwise null
-
(mixed) getAttribute (, , )
Browse code
Retrieves an attribute from the current request.
returns An attribute value
-
(sfParameterHolder) getAttributeHolder ()
Browse code
Retrieves the attributes holder.
returns The attribute holder
-
(sfContext) getContext ()
Browse code
Retrieves the current application context.
returns Current application context
-
Retrieves an error message.
returns An error message, if the error exists, otherwise null
-
(array) getErrorNames ()
Browse code
Retrieves an array of error names.
returns An indexed array of error names
-
Retrieves an array of errors.
returns An associative array of errors
-
Retrieves this request's method.
returns One of the following constants: - sfRequest::GET - sfRequest::POST
-
Retrieves a paramater for the current request.
-
(sfParameterHolder) getParameterHolder ()
Browse code
Retrieves the parameters for the current request.
returns The parameter holder
-
(boolean) hasAttribute (, )
Browse code
Indicates whether or not an attribute exist for the current request.
returns true, if the attribute exists otherwise false
-
Indicates whether or not an error exists.
returns true, if the error exists, otherwise false
-
(boolean) hasErrors ()
Browse code
Indicates whether or not any errors exist.
returns true, if any error exist, otherwise false
-
(boolean) hasParameter (, )
Browse code
Indicates whether or not a parameter exist for the current request.
returns true, if the paramater exists otherwise false
-
(boolean) initialize (, , )
Browse code
Initializes this sfRequest.
returns true, if initialization completes successfully, otherwise false
throws sfInitializationException If an error occurs while initializing this Request
-
(sfRequest) newInstance ()
Browse code
Retrieves a new sfRequest implementation instance.
returns A sfRequest implementation instance
throws sfFactoryException If a request implementation instance cannot be created
-
Sets an attribute for the request.
-
Sets an error.
-
Sets an array of errors
If an existing error name matches any of the keys in the supplied
array, the associated message will be overridden.
-
Sets the request method.
throws sfException - If the specified request method is invalid
-
Sets a parameter for the current request.
-
Executes the shutdown procedure.
-
Overloads a given method.
returns User function callback
throws sfException if call fails