symfony API

sfActions Class

You are currently browsing
the website for symfony 1

Visit the Symfony2 website


« Back to API menu

1.4 API OpenSearch

Packages

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

sfActions executes all the logic for the current request.

Inheritence

sfActions  <  sfAction < sfComponent

Method Summary

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

Methods inherited from sfAction

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

Methods inherited from sfComponent

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

Method Details

  • (string) execute ($request) Browse code

    $request The current sfRequest object

    Dispatches to the action defined by the 'action' 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