|
Class TCompositeLiteral
TCompositeLiteral class
TCompositeLiteral is used internally by TTemplate for representing
consecutive static strings, expressions and statements.
-
TComponent
-
TCompositeLiteral
implements
IRenderable,
IBindable
Methods summary
public
|
#
__construct( array $items )
Constructor.
Parameters
- $items
array list of items to be represented by TCompositeLiteral
Overrides
|
public
TComponent
|
#
getContainer( )
Returns
TComponent
container of this component. It serves as the evaluation context of expressions
and statements.
|
public
|
#
setContainer( TComponent $value )
Parameters
- $value
TComponent
container of this component. It serves as the evaluation context of expressions
and statements.
|
public
|
#
evaluateDynamicContent( )
Evaluates the expressions and/or statements in the component.
Evaluates the expressions and/or statements in the component.
|
public
|
#
dataBind( )
Performs databindings. This method is required by IBindable
Performs databindings. This method is required by IBindable
Implementation of
|
public
|
#
render( ITextWriter $writer )
Renders the content stored in this component. This method is required by
IRenderable
Renders the content stored in this component. This method is required by
IRenderable
Parameters
Implementation of
|
Methods inherited from TComponent
__call(),
__destruct(),
__get(),
__isset(),
__set(),
__sleep(),
__unset(),
__wakeup(),
addParsedObject(),
asa(),
attachBehavior(),
attachBehaviors(),
attachClassBehavior(),
attachEventHandler(),
canGetProperty(),
canSetProperty(),
clearBehaviors(),
createdOnTemplate(),
detachBehavior(),
detachBehaviors(),
detachClassBehavior(),
detachEventHandler(),
disableBehavior(),
disableBehaviors(),
enableBehavior(),
enableBehaviors(),
evaluateExpression(),
evaluateStatements(),
fxAttachClassBehavior(),
fxDetachClassBehavior(),
getAutoGlobalListen(),
getBehaviorsEnabled(),
getClassHierarchy(),
getEventHandlers(),
getListeningToGlobalEvents(),
getSubProperty(),
hasEvent(),
hasEventHandler(),
hasProperty(),
isa(),
listen(),
raiseEvent(),
setSubProperty(),
unlisten()
|
Constants summary
integer |
TYPE_EXPRESSION |
0 |
|
integer |
TYPE_STATEMENTS |
1 |
|
integer |
TYPE_DATABINDING |
2 |
|
|