From 14d50e0beb5e7a02d9845a9616ad80466d0bc29e Mon Sep 17 00:00:00 2001 From: xue <> Date: Fri, 16 Feb 2007 19:55:14 +0000 Subject: fixed tutorial error. --- demos/quickstart/protected/pages/Controls/NewControl.page | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 LabeledTextBox 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 -- cgit v1.2.3