Class TCompositeLiteral

Description

Implements interfaces:

TCompositeLiteral class

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

  • author: Qiang Xue <qiang.xue@gmail.com>
  • version: $Id: TControl.php 3078 2011-12-03 15:25:12Z ctrlaltca@gmail.com $
  • since: 3.0

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

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

Constructor.

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

Performs databindings.

This method is required by IBindable

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

Evaluates the expressions and/or statements in the component.

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

Renders the content stored in this component.

This method is required by IRenderable

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

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::__call()
TComponent::__get()
TComponent::__set()
TComponent::__sleep()
TComponent::__wakeup()
Class Constants
TYPE_DATABINDING = 2 (line 2312)
TYPE_EXPRESSION = 0 (line 2310)
TYPE_STATEMENTS = 1 (line 2311)

Documentation generated on Mon, 25 Jun 2012 14:37:39 +0200 by phpDocumentor 1.4.3