Class TCompositeLiteral

Description

Implements interfaces:

TCompositeLiteral class

TCompositeLiteral is used internally by TTemplate for representing consecutive static strings, expressions and statements.

  • since: 3.0
  • version: $Id: TControl.php 2522 2008-10-13 21:40:53Z mikl $
  • author: Qiang Xue <qiang.xue@gmail.com>

Located in /Web/UI/TControl.php (line 2299)

TComponent
   |
   --TCompositeLiteral
Class Constant Summary
Method Summary
void dataBind ()
void render (ITextWriter $writer)
void setContainer (TComponent $value)
TCompositeLiteral __construct (array $items)
Methods
dataBind (line 2368)

Performs databindings.

This method is required by IBindable

  • access: public
void dataBind ()
evaluateDynamicContent (line 2355)

Evaluates the expressions and/or statements in the component.

  • access: public
void evaluateDynamicContent ()
getContainer (line 2339)
  • return: container of this component. It serves as the evaluation context of expressions and statements.
  • access: public
TComponent getContainer ()
render (line 2380)

Renders the content stored in this component.

This method is required by IRenderable

  • access: public
void render (ITextWriter $writer)
setContainer (line 2347)
  • access: public
void setContainer (TComponent $value)
  • TComponent $value: container of this component. It serves as the evaluation context of expressions and statements.
Constructor __construct (line 2314)

Constructor.

  • access: public
TCompositeLiteral __construct (array $items)
  • array $items: list of items to be represented by TCompositeLiteral

Inherited Methods

Inherited From TComponent

TComponent::addParsedObject()
TComponent::attachEventHandler()
TComponent::canGetProperty()
TComponent::canSetProperty()
TComponent::createdOnTemplate()
TComponent::detachEventHandler()
TComponent::evaluateExpression()
TComponent::evaluateStatements()
TComponent::getEventHandlers()
TComponent::getSubProperty()
TComponent::hasEvent()
TComponent::hasEventHandler()
TComponent::hasProperty()
TComponent::raiseEvent()
TComponent::setSubProperty()
TComponent::__get()
TComponent::__set()
Class Constants
TYPE_DATABINDING = 2 (line 2303)
TYPE_EXPRESSION = 0 (line 2301)
TYPE_STATEMENTS = 1 (line 2302)

Documentation generated on Sun, 11 Jan 2009 20:21:23 -0500 by phpDocumentor 1.3.0RC4