[ Index ]
 

Code source de Symfony 1.0.0

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

title

Body

[fermer]

/lib/storage/ -> sfStorage.class.php (sommaire)

sfStorage allows you to customize the way symfony stores its persistent data.

Author: Fabien Potencier <fabien.potencier@symfony-project.com>
Author: Sean Kerr <skerr@mojavi.org>
Version: SVN: $Id: sfStorage.class.php 3329 2007-01-23 08:29:34Z fabien $
Poids: 174 lignes (5 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 7 fonctions

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

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

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

return: sfContext A sfContext instance

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

param: sfContext A sfContext instance
param: array   An associative array of initialization parameters
return: boolean true, if initialization completes successfully, otherwise false

newInstance($class)   X-Ref
Retrieves a new Storage implementation instance.

param: string A Storage implementation name
return: Storage A Storage implementation instance

getParameterHolder()   X-Ref
Retrieves the parameters from the storage.

return: sfParameterHolder List of parameters

getParameter($name, $default = null, $ns = null)   X-Ref
Retrieves a parameter from the validator.

param: string Parameter name
param: mixed A default parameter
param: string Namespace for the current storage
return: mixed A parameter value

hasParameter($name, $ns = null)   X-Ref
Indicates whether or not a parameter exist for the storage instance.

param: string A parameter name
param: string A parameter namespace
return: boolean true, if parameter exists, otherwise false

setParameter($name, $value, $ns = null)   X-Ref
Sets a parameter for the current storage instance.

param: string A parameter name
param: mixed A parameter value
param: string Namespace for the current storage



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