summaryrefslogtreecommitdiff
path: root/demos
diff options
context:
space:
mode:
authorxue <>2007-02-16 19:55:14 +0000
committerxue <>2007-02-16 19:55:14 +0000
commit14d50e0beb5e7a02d9845a9616ad80466d0bc29e (patch)
treebdb5a9aa5f5ed8a1fa1456b2ae99d6b37135502d /demos
parent69fbac8eb390496d8cc24043954ab8393ca22a06 (diff)
fixed tutorial error.
Diffstat (limited to 'demos')
-rw-r--r--demos/quickstart/protected/pages/Controls/NewControl.page2
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/quickstart/protected/pages/Controls/NewControl.page b/demos/quickstart/protected/pages/Controls/NewControl.page
index 5662f848..7bcd3e71 100644
--- a/demos/quickstart/protected/pages/Controls/NewControl.page
+++ b/demos/quickstart/protected/pages/Controls/NewControl.page
@@ -57,7 +57,7 @@ Complete code for <tt>LabeledTextBox</tt> is shown as follows,
class LabeledTextBox extends TCompositeControl {
private $_label;
private $_textbox;
- protected function createChildControls() {
+ public function createChildControls() {
$this->_label=new TLabel;
$this->_label->setID('Label');
// add the label as a child of LabeledTextBox