[ Index ]
 

Code source de Symfony 1.0.0

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

title

Body

[fermer]

/lib/filter/ -> sfFilter.class.php (sommaire)

sfFilter provides a way for you to intercept incoming requests or outgoing responses.

Author: Fabien Potencier <fabien.potencier@symfony-project.com>
Author: Sean Kerr <skerr@mojavi.org>
Version: SVN: $Id: sfFilter.class.php 3502 2007-02-18 18:28:28Z fabien $
Poids: 146 lignes (4 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 7 fonctions

  isFirstCall()
  getContext()
  initialize()
  getParameterHolder()
  getParameter()
  hasParameter()
  setParameter()

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

isFirstCall()   X-Ref
Returns true if this is the first call to the sfFilter instance.

return: boolean true if this is the first call to the sfFilter instance, false otherwise

getContext()   X-Ref
Retrieves the current application context.

return: sfContext The current sfContext instance

initialize($context, $parameters = array()   X-Ref
Initializes this Filter.

param: sfContext The current application context
param: array   An associative array of initialization parameters
return: boolean true, if initialization completes successfully, otherwise false

getParameterHolder()   X-Ref
Gets the parameter holder for this object.

return: sfParameterHolder A sfParameterHolder instance

getParameter($name, $default = null, $ns = null)   X-Ref
Gets the parameter associated with the given key.

This is a shortcut for:

<code>$this->getParameterHolder()->get()</code>

param: string The key name
param: string The default value
param: string The namespace to use
return: string The value associated with the key

hasParameter($name, $ns = null)   X-Ref
Returns true if the given key exists in the parameter holder.

This is a shortcut for:

<code>$this->getParameterHolder()->has()</code>

param: string The key name
param: string The namespace to use
return: boolean true if the given key exists, false otherwise

setParameter($name, $value, $ns = null)   X-Ref
Sets the value for the given key.

This is a shortcut for:

<code>$this->getParameterHolder()->set()</code>

param: string The key name
param: string The value
param: string The namespace to use



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