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

Class: AttributeProperty

Source Location: /framework/template/compiler/property/attribute.inc.php

Class Overview

CompilerProperty
   |
   --AttributeProperty

A property linked to the value of an attribute.

Version:

  • $Id: property.inc.php,v 1.1 2004/05/31 22:18:50 jeffmoore Exp $

Variables

Methods


Inherited Variables

Inherited Methods

Class: CompilerProperty

CompilerProperty::activate()
CompilerProperty::generateExpression()
Generate the code to read the data value at run time Must generate only a valid PHP Expression.
CompilerProperty::generatePostStatement()
Generate tear down code for an expression reference
CompilerProperty::generatePreStatement()
Generate setup code for an expression reference
CompilerProperty::generateScopeEntry()
Generate setup code when a property enters a scope in which it is valid.
CompilerProperty::generateScopeExit()
Generate tear down code when a property enters a scope in which it is valid.
CompilerProperty::getValue()
Return this value as a PHP value
CompilerProperty::isActive()
CompilerProperty::isConstant()
Does this property refer to a constant value at compile time?

Class Details

A property linked to the value of an attribute.
version:  $Id: property.inc.php,v 1.1 2004/05/31 22:18:50 jeffmoore Exp $
access:  public

Class Variables


$attribute =

Type:   mixed

Class Methods


constructor AttributeProperty



AttributeProperty AttributeProperty( mixed &$attribute)

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
Overrides CompilerProperty::generateExpression() (Generate the code to read the data value at run time Must generate only a valid PHP Expression.)

Parameters:

CodeWriter   &$code  

method generatePostStatement

Generate tear down code for an expression reference

void generatePostStatement( CodeWriter &$code)

API Tags:

access:  protected
Overrides CompilerProperty::generatePostStatement() (Generate tear down code for an expression reference)

Parameters:

CodeWriter   &$code  

method generatePreStatement

Generate setup code for an expression reference

void generatePreStatement( CodeWriter &$code)

API Tags:

access:  protected
Overrides CompilerProperty::generatePreStatement() (Generate setup code for an expression reference)

Parameters:

CodeWriter   &$code  

method getValue

Return this value as a PHP value

String getValue( )

API Tags:

access:  public
Overrides CompilerProperty::getValue() (Return this value as a PHP value)

method isConstant

Does this property refer to a constant value at compile time?

Boolean isConstant( )

API Tags:

access:  public
Overrides CompilerProperty::isConstant() (Does this property refer to a constant value at compile time?)
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:43:59 -0800 by phpDocumentor 1.2.3