sfExecutionFilter is the last filter registered for each filter chain. This
filter does all action and view execution.
Inheritence
sfValidationExecutionFilter
<
sfFilter
Method Summary
-
execute((sfFilterChain) $filterChain)
Executes this filter.
-
string
executeAction((sfAction) $actionInstance)
Executes the execute method of an action.
-
string
executeView($moduleName, $actionName, $viewName, $viewAttributes)
Executes and renders the view.
-
handleAction($filterChain, $actionInstance)
-
string
handleErrorAction((sfAction) $actionInstance)
Executes the handleError method of an action.
-
handleView((sfFilterChain) $filterChain, (sfAction) $actionInstance, $viewName)
Handles the view.
-
registerFillInFilter((sfFilterChain) $filterChain, $parameters)
Registers the fill in filter in the filter chain.
-
boolean
validateAction((sfAction) $filterChain, $actionInstance)
Validates an sfAction instance.
Methods inherited from sfFilter
getContext , getParameter , getParameterHolder , hasParameter , initialize , isFirstCall , setParameter , __construct
Method Details
-
execute ((sfFilterChain) $filterChain)
Browse code
| $filterChain |
The filter chain
|
Executes this filter.
throws sfViewException If an error occurs while executing the view.
-
(string) executeAction ((sfAction) $actionInstance)
Browse code
| $actionInstance |
An sfAction instance
|
Executes the execute method of an action.
returns The view type
-
(string) executeView ($moduleName, $actionName, $viewName, $viewAttributes)
Browse code
| $moduleName |
The module name
|
| $actionName |
The action name
|
| $viewName |
The view name
|
| $viewAttributes |
An array of view attributes
|
Executes and renders the view.
The behavior of this method depends on the controller render mode:
sfView::NONE: Nothing happens. sfView::RENDER_CLIENT: View data populates the response content. sfView::RENDER_DATA: View data populates the data presentation variable.
returns The view data
-
handleAction ($filterChain, $actionInstance)
Browse code
| $filterChain |
|
| $actionInstance |
|
-
(string) handleErrorAction ((sfAction) $actionInstance)
Browse code
| $actionInstance |
An sfAction instance
|
Executes the handleError method of an action.
returns The view type
-
handleView ((sfFilterChain) $filterChain, (sfAction) $actionInstance, $viewName)
Browse code
| $filterChain |
The current filter chain
|
| $actionInstance |
An sfAction instance
|
| $viewName |
The view name
|
Handles the view.
-
registerFillInFilter ((sfFilterChain) $filterChain, $parameters)
Browse code
| $filterChain |
A sfFilterChain implementation instance
|
| $parameters |
An array of parameters to pass to the fill in filter.
|
Registers the fill in filter in the filter chain.
-
(boolean) validateAction ((sfAction) $filterChain, $actionInstance)
Browse code
| $filterChain |
An sfAction instance
|
| $actionInstance |
|
Validates an sfAction instance.
returns True if the action is validated, false otherwise
|