symfony API

sfExecutionFilter Class

You are currently browsing
the website for symfony 1

Visit the Symfony2 website

« Back to API menu

1.2 API OpenSearch


You are currently browsing the symfony API for the 1.2 version. Switch to:
This version of symfony is not maintained anymore.
If some of your projects still use this version, consider upgrading as soon as possible.

sfExecutionFilter is the last filter registered for each filter chain. This filter does all action and view execution.


sfExecutionFilter  <  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)
  • handleView((sfFilterChain) $filterChain, (sfAction) $actionInstance, $viewName)
    Handles the view.

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


  • handleView ((sfFilterChain) $filterChain, (sfAction) $actionInstance, $viewName) Browse code

    $filterChain The current filter chain
    $actionInstance An sfAction instance
    $viewName The view name

    Handles the view.