From 99ecc26ddd9c6f0233aff2770e82c9db80fd0b4c Mon Sep 17 00:00:00 2001 From: xue <> Date: Tue, 31 Jan 2006 01:30:28 +0000 Subject: All events are now defined with public on-functions. This is to comply with the new change introduced since 5.1. --- framework/Web/UI/TForm.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'framework/Web/UI/TForm.php') diff --git a/framework/Web/UI/TForm.php b/framework/Web/UI/TForm.php index 7155627a..4cd7e5cc 100644 --- a/framework/Web/UI/TForm.php +++ b/framework/Web/UI/TForm.php @@ -2,7 +2,7 @@ class TForm extends TControl { - protected function onInit($param) + public function onInit($param) { parent::onInit($param); $this->getPage()->setForm($this); -- cgit v1.2.3