From 370c682479edb2fd3f40ee701f7bb4ef088e8283 Mon Sep 17 00:00:00 2001
From: xue <>
Date: Fri, 7 Apr 2006 03:32:11 +0000
Subject: Breaking change!! Optimized the representation and evaluation of
template expression, statements and databind tags.
---
.../protected/pages/Controls/Statements.page | 19 ++++++++-----------
1 file changed, 8 insertions(+), 11 deletions(-)
(limited to 'demos/quickstart/protected/pages/Controls/Statements.page')
diff --git a/demos/quickstart/protected/pages/Controls/Statements.page b/demos/quickstart/protected/pages/Controls/Statements.page
index c6807738..dd26ec1b 100644
--- a/demos/quickstart/protected/pages/Controls/Statements.page
+++ b/demos/quickstart/protected/pages/Controls/Statements.page
@@ -4,34 +4,31 @@
-TStatements evaluates a sequence of PHP statements and displays the content rendered by the statements. To specify the PHP statements to be evaluated, set the Statements property. In a control template, statement tags are often used instead of the complete component tags when the main purpose is to display the result rendered by some PHP statements. For example, the following two tags are equivalent, +TStatements evaluates a sequence of PHP statements and displays the content rendered by the statements. To specify the PHP statements to be evaluated, set the Statements property. For example, the following component tag displays the current time on the Web page,
-TStatements evaluates the PHP statements during the rendering control lifecycle. Unlike TExpression, TStatements only displays the content 'echoed' within the statements. +Note, TStatements evaluates the PHP statements during the rendering control lifecycle. Unlike TExpression, TStatements only displays the content 'echoed' within the statements.
The context of the statements in a TStatements control is the control itself. That is, $this represents the control object if it is present in the statements. For example, the following statement tag will display the title of the page containing the TStatements control.
-- cgit v1.2.3