symfony API

sfActions Class

« Back to API menu

1.0 API OpenSearch

Packages

You are currently browsing the symfony API 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 () Browse code

    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

The Sensio Labs Network

Since 1998, Sensio Labs has been promoting the Open-Source software movement by providing quality web application development, training, consulting, and supporting several large Open-Source projects.