symfony API

sfExecutionFilter Class

You are currently browsing
the website for symfony 1

Visit the Symfony2 website


« Back to API menu

1.3 API OpenSearch

Packages

You are currently browsing the symfony API for the 1.3 version. Switch to:

sfExecutionFilter is the last filter registered for each filter chain. This

Inheritence

sfExecutionFilter  <  sfFilter

Method Summary

  • execute($filterChain)
    Executes this filter.
  • string executeAction($actionInstance)
    Executes the execute method of an action.
  • string executeView($moduleName, $actionName, $viewName, $viewAttributes)
    Executes and renders the view.
  • string handleAction($filterChain, $actionInstance)
    Handles the action.
  • handleView($filterChain, $actionInstance, $viewName)
    Handles the view.

Methods inherited from sfFilter

getContext , getParameter , getParameterHolder , hasParameter , initialize , isFirstCall , setParameter , __construct

Method Details

  • execute ($filterChain) Browse code

    $filterChain The filter chain

    Executes this filter.

    throws sfInitializeException If an error occurs during view initialization.

  • (string) executeAction ($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_VAR: View data populates the data presentation variable.

    returns The view data

  • (string) handleAction ($filterChain, $actionInstance) Browse code

    $filterChain The current filter chain
    $actionInstance An sfAction instance

    Handles the action.

    returns The view type

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

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

    Handles the view.