summaryrefslogtreecommitdiff
path: root/demos/quickstart/protected/pages/Controls/NewControl.page
diff options
context:
space:
mode:
authorxue <>2007-03-05 16:05:43 +0000
committerxue <>2007-03-05 16:05:43 +0000
commitb29a1544cac088cbdffa0b36f5d3bdebf1b18264 (patch)
treefdce7ef0f1a3af29c9551a5ad0505fd1daa5e496 /demos/quickstart/protected/pages/Controls/NewControl.page
parent0f818e91896908ae1d87388b16d583dd56812f92 (diff)
merge from 3.0 branch till 1740.
Diffstat (limited to 'demos/quickstart/protected/pages/Controls/NewControl.page')
-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 f521ffd7..9981dd56 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