symfony API

sfExecutionFilter Class

« Back to API menu

action

addon

autoload

cache

command

config

controller

creole

database

debug

exception

filter

form

generator

helper

i18n

log

plugin

propel

request

response

routing

storage

task

test

user

util

validator

view

widget

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

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

Inheritence

sfExecutionFilter  <  sfFilter

Method Summary

  • string executeView($moduleName, $actionName, $viewName, $viewAttributes)
    Executes and renders the view.
  • execute((sfFilterChain) $filterChain)
    Executes this filter.
  • handleView((sfFilterChain) $filterChain, (sfAction) $actionInstance, $viewName)
    Handles the view.
  • 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) 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.

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

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

    Handles the view.

  • handleAction ($filterChain, $actionInstance)

  • (string) executeAction ((sfAction) $actionInstance)

    $actionInstance An sfAction instance

    Executes the execute method of an action.

    returns The view type