symfony API

sfActions Class

« Back to API menu

action

addon

cache

config

controller

countable

database

debug

exception

filter

generator

helper

i18n

log

request

response

storage

test

user

util

validator

view

You are currently browsing the symfony documentation for the 1.0 version. Switch to:

sfActions executes all the logic for the current request.

Inheritence

sfActions  <  sfAction < sfComponent

Method Summary

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

Methods inherited from sfAction

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

Methods inherited from sfComponent

__unset , getVar , hasFlash , __call , logMessage , getRequestParameter , setFlash , getPresentationFor , execute , getFlash , getModuleName , __set , initialize , getResponse , setVar , hasRequestParameter , debugMessage , getContext , __isset , getUser , __get , getActionName , getLogger , sendEmail , getRequest , getVarHolder , getController

Method Details

  • (string) execute ()

    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