symfony API

sfActions 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 documentation for the 1.1 version. Switch to:

sfActions executes all the logic for the current request.

Inheritence

defaultActions  <  sfActions  <  sfAction < sfComponent

Method Summary

  • string execute((sfRequest) $request)
    Dispatches to the action defined by the &apos;action&apos; parameter of the sfRequest object.

Methods inherited from sfAction

getPartial , get404Message , forward404Unless , setLayout , getCredential , postExecute , isSecure , getSecurityConfiguration , setViewClass , renderText , getComponent , getTemplate , initialize , forward404 , renderComponent , redirectUnless , preExecute , forward , redirect404 , validate , setTemplate , redirect , getLayout , forward404If , redirectIf , forwardUnless , renderPartial , getRequestMethods , getDefaultView , handleError , forwardIf , setSecurityConfiguration

Methods inherited from sfComponent

__unset , getVar , __construct , __call , logMessage , getRequestParameter , execute , getModuleName , __set , initialize , getResponse , setVar , hasRequestParameter , debugMessage , getContext , __isset , getUser , __get , getActionName , getLogger , getRequest , getVarHolder , getController

Method Details

  • (string) execute ((sfRequest) $request)

    $request The current sfRequest object

    Dispatches to the action defined by the &apos;action&apos; parameter of the sfRequest object.

    This method try to execute the executeXXX() method of the current object where XXX is the defined action name.

    returns A string containing the view name associated with this action

    throws sfInitializationException