[ Index ]
 

Code source de Symfony 1.0.0

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/lib/controller/ -> sfWebController.class.php (sommaire)

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

Author: Fabien Potencier <fabien.potencier@symfony-project.com>
Author: Sean Kerr <skerr@mojavi.org>
Version: SVN: $Id: sfWebController.class.php 3204 2007-01-09 18:50:08Z fabien $
Poids: 227 lignes (6 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 3 fonctions

  genUrl()
  convertUrlStringToParameters()
  redirect()

Fonctions
Fonctions qui ne font pas partie d'une Classe:

genUrl($parameters = array()   X-Ref
Generates an URL from an array of parameters.

param: mixed   An associative array of URL parameters or an internal URI as a string.
param: boolean Whether to generate an absolute URL
return: string A URL to a symfony resource

convertUrlStringToParameters($url)   X-Ref
Converts an internal URI string to an array of parameters.

param: string An internal URI
return: array An array of parameters

redirect($url, $delay = 0, $statusCode = 302)   X-Ref
Redirects the request to another URL.

param: string An existing URL
param: int    A delay in seconds before redirecting. This is only needed on
param: int    The status code



Généré le : Fri Mar 16 22:42:14 2007 par Balluche grâce à PHPXref 0.7