[ Index ]
 

Code source de PRADO 3.0.6

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

title

Body

[fermer]

/framework/Web/UI/WebControls/ -> TExpression.php (sommaire)

TExpression class file

Author: Qiang Xue <qiang.xue@gmail.com>
Copyright: Copyright © 2005 PradoSoft
License: http://www.pradosoft.com/license/
Version: $Id: TExpression.php 1397 2006-09-07 07:55:53Z wei $
Poids: 63 lignes (2 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 1 class

TExpression:: (3 méthodes):
  getExpression()
  setExpression()
  render()


Classe: TExpression  - X-Ref

TExpression class

TExpression evaluates a PHP expression and renders the result.
The expression is evaluated during the rendering stage. The expression being
evaluated can be set via the property {@link setExpression Expression}.
The context of the expression evaluated is the TExpression object itself.

Note, since TExpression allows evaluation of arbitrary PHP expression,
make sure {@link setExpression Expression} does not come directly from user input.

getExpression()   X-Ref

return: string the expression to be evaluated

setExpression($value)   X-Ref

param: string the expression to be evaluated

render($writer)   X-Ref
Renders the evaluation result of the expression.

param: THtmlWriter the writer used for the rendering purpose



Généré le : Sun Feb 25 21:07:04 2007 par Balluche grâce à PHPXref 0.7