symfony API

sfWebController Class

You are currently browsing
the website for symfony 1

Visit the Symfony2 website


« Back to API menu

1.0 API OpenSearch

Packages

You are currently browsing the symfony API for the 1.0 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.

sfWebController provides web specific methods to sfController such as, url redirection.

Inheritence

sfFrontWebController  <  sfWebController  <  sfController

Method Summary

  • array convertUrlStringToParameters()
    Converts an internal URI string to an array of parameters.
  • string genUrl(, )
    Generates an URL from an array of parameters.
  • redirect(, , )
    Redirects the request to another URL.

Methods inherited from sfController

actionExists , componentExists , controllerExists , forward , getAction , getActionStack , getComponent , getContext , getController , getPresentationFor , getRenderMode , getView , inCLI , initialize , loadFilters , newInstance , sendEmail , setRenderMode , __call

Method Details

  • (array) convertUrlStringToParameters () Browse code

    Converts an internal URI string to an array of parameters.

    returns An array of parameters

  • (string) genUrl (, ) Browse code

    Generates an URL from an array of parameters.

    returns A URL to a symfony resource

  • redirect (, , ) Browse code

    Redirects the request to another URL.