sfExecutionFilter is the last filter registered for each filter chain. This
filter does all action and view execution.
Inheritence
sfValidationExecutionFilter
<
sfFilter
Method Summary
-
string
handleErrorAction((sfAction) $actionInstance)
Executes the handleError method of an action.
-
string
executeView($moduleName, $actionName, $viewName, $viewAttributes)
Executes and renders the view.
-
execute((sfFilterChain) $filterChain)
Executes this filter.
-
boolean
validateAction((sfAction) $filterChain, $actionInstance)
Validates an sfAction instance.
-
handleView((sfFilterChain) $filterChain, (sfAction) $actionInstance, $viewName)
Handles the view.
-
registerFillInFilter((sfFilterChain) $filterChain, $parameters)
Registers the fill in filter in the filter chain.
-
handleAction($filterChain, $actionInstance)
-
string
executeAction((sfAction) $actionInstance)
Executes the execute method of an action.
Methods inherited from sfFilter
__construct , isFirstCall , hasParameter , getParameter , initialize , getContext , getParameterHolder , setParameter
Method Details
-
(string) handleErrorAction ((sfAction) $actionInstance)
| $actionInstance |
An sfAction instance |
Executes the handleError method of an action.
returns The view type
-
(string) executeView ($moduleName, $actionName, $viewName, $viewAttributes)
| $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
-
execute ((sfFilterChain) $filterChain)
| $filterChain |
The filter chain |
Executes this filter.
throws sfViewException If an error occurs while executing the view.
-
(boolean) validateAction ((sfAction) $filterChain, $actionInstance)
| $filterChain |
An sfAction instance |
Validates an sfAction instance.
returns True if the action is validated, false otherwise
-
handleView ((sfFilterChain) $filterChain, (sfAction) $actionInstance, $viewName)
| $filterChain |
The current filter chain |
| $actionInstance |
An sfAction instance |
| $viewName |
The view name |
Handles the view.
-
registerFillInFilter ((sfFilterChain) $filterChain, $parameters)
| $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.
-
handleAction ($filterChain, $actionInstance)
-
(string) executeAction ((sfAction) $actionInstance)
| $actionInstance |
An sfAction instance |
Executes the execute method of an action.
returns The view type
|