WACT_TEMPLATE
[ class tree: WACT_TEMPLATE ] [ index: WACT_TEMPLATE ] [ all elements ]

Class: DataBindingExpression

Source Location: /framework/template/compiler/databinding.inc.php

Class Overview


Variables

Methods


Inherited Variables

Inherited Methods


Class Details

access:  protected

Class Variables


$context =

access:  private
Type:   mixed

$DataSourceReferenceVariable =

Type:   mixed

$expression =

used for error messages
access:  private
Type:   mixed

$name =

Name of the element to bind to.
access:  private
Type:   string

$path =

Type:   mixed

$prepared = FALSE

Type:   mixed

Class Methods


constructor DataBindingExpression



DataBindingExpression DataBindingExpression( mixed $expression, mixed &$ComponentContext)

method autoPrepare



void autoPrepare( )

method generateExpression

Generate the code to read the data value at run time Must generate only a valid PHP Expression.

void generateExpression( CodeWriter &$code)

API Tags:

access:  protected

Parameters:

CodeWriter   &$code  

method generatePostStatement

Generate tear down code for an expression reference

void generatePostStatement( CodeWriter &$code)

API Tags:

access:  protected

Parameters:

CodeWriter   &$code  

method generatePreStatement

Generate setup code for an expression reference

void generatePreStatement( CodeWriter &$code)

API Tags:

access:  protected

Parameters:

CodeWriter   &$code  

method getValue

Return the value of this expression

String getValue( )

API Tags:

access:  public

method isConstant

Does this expression refer to a constant value (at compile time)?

Boolean isConstant( )

API Tags:

access:  public

method prepare



void prepare( )
WACT: Copyright 2003 Procata, Inc. Released under the LGPL license (http://www.gnu.org/copyleft/lesser.html)
Documentation generated on Sun, 28 Nov 2004 19:45:04 -0800 by phpDocumentor 1.2.3