[ Index ]
 

Code source de eGroupWare 1.2.106-2

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

title

Body

[fermer]

/phpgwapi/inc/savant2/Savant2/ -> Savant2_Plugin_modify.php (sommaire)

Base plugin class.

Poids: 82 lignes (2 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 1 class

Savant2_Plugin_modify:: (1 méthode):
  plugin()


Classe: Savant2_Plugin_modify  - X-Ref

Modifies a value with a series of functions.

$Id: Savant2_Plugin_modify.php 18360 2005-05-26 19:38:09Z mipmip $

plugin($value, $functions = null)   X-Ref
Modifies a value with a series of functions.

Allows you to pass a space-separated list of value-manipulation
functions so that the value is "massaged" before output. For
example, if you want to strip slashes, force to lower case, and
convert to HTML entities (as for an input text box), you might do
this:

$this->modify($value, 'stripslashes strtolower htmlentities');

param: object &$savant A reference to the calling Savant2 object.
param: string $value The value to be printed.
param: string $functions A space-separated list of
return: string



Généré le : Sun Feb 25 17:20:01 2007 par Balluche grâce à PHPXref 0.7