symfony API

sfActions Class

You are currently browsing
the website for symfony 1

Visit the Symfony2 website


« Back to API menu

1.2 API OpenSearch

Packages

You are currently browsing the symfony API for the 1.2 version. Switch to:
This version of symfony is not maintained anymore.
If some of your projects still use this version, consider upgrading as soon as possible.

sfActions executes all the logic for the current request.

Inheritence

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

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

Methods inherited from sfComponent

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

Method Details

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

    $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