summaryrefslogtreecommitdiff
path: root/framework/Web/UI/ActiveControls
diff options
context:
space:
mode:
authorjavalizard <>2010-04-18 03:32:22 +0000
committerjavalizard <>2010-04-18 03:32:22 +0000
commit6808797813167ac3ea343dfc794c036d95c6d8af (patch)
tree5315f8361afb03269eb0e7f1ec13501b39924555 /framework/Web/UI/ActiveControls
parent5aff249d0b574f90f527b7af60604439f8fa3bef (diff)
ensured that the UI are calling their parent __construct methods
Diffstat (limited to 'framework/Web/UI/ActiveControls')
-rw-r--r--framework/Web/UI/ActiveControls/TActiveRatingList.php2
-rw-r--r--framework/Web/UI/ActiveControls/TAutoComplete.php1
-rw-r--r--framework/Web/UI/ActiveControls/TBaseActiveControl.php3
-rw-r--r--framework/Web/UI/ActiveControls/TCallbackClientScript.php1
-rw-r--r--framework/Web/UI/ActiveControls/TCallbackEventParameter.php3
-rwxr-xr-xframework/Web/UI/ActiveControls/TCallbackResponseAdapter.php1
-rwxr-xr-xframework/Web/UI/ActiveControls/TDropContainer.php1
7 files changed, 9 insertions, 3 deletions
diff --git a/framework/Web/UI/ActiveControls/TActiveRatingList.php b/framework/Web/UI/ActiveControls/TActiveRatingList.php
index 473ca06a..cee1bcd4 100644
--- a/framework/Web/UI/ActiveControls/TActiveRatingList.php
+++ b/framework/Web/UI/ActiveControls/TActiveRatingList.php
@@ -31,9 +31,9 @@ class TActiveRatingList extends TRatingList implements IActiveControl, ICallback
*/
public function __construct()
{
+ parent::__construct();
$this->setAdapter(new TActiveListControlAdapter($this));
$this->setAutoPostBack(true);
- parent::__construct();
}
/**
diff --git a/framework/Web/UI/ActiveControls/TAutoComplete.php b/framework/Web/UI/ActiveControls/TAutoComplete.php
index 2ae01d2b..f5977a01 100644
--- a/framework/Web/UI/ActiveControls/TAutoComplete.php
+++ b/framework/Web/UI/ActiveControls/TAutoComplete.php
@@ -425,6 +425,7 @@ class TAutoCompleteTemplate extends TComponent implements ITemplate
public function __construct($template)
{
+ parent::__construct();
$this->_template = $template;
}
/**
diff --git a/framework/Web/UI/ActiveControls/TBaseActiveControl.php b/framework/Web/UI/ActiveControls/TBaseActiveControl.php
index 92dd3194..2afec4d1 100644
--- a/framework/Web/UI/ActiveControls/TBaseActiveControl.php
+++ b/framework/Web/UI/ActiveControls/TBaseActiveControl.php
@@ -4,7 +4,7 @@
*
* @author Wei Zhuo <weizhuo[at]gamil[dot]com>
* @link http://www.pradosoft.com/
- * @copyright Copyright &copy; 2005-2008 PradoSoft
+ * @copyright Copyright &copy; 2005-2010 PradoSoft
* @license http://www.pradosoft.com/license/
* @version $Id$
* @package System.Web.UI.ActiveControls
@@ -44,6 +44,7 @@ class TBaseActiveControl extends TComponent
*/
public function __construct($control)
{
+ parent::__construct();
$this->_control = $control;
$this->_options = new TMap;
}
diff --git a/framework/Web/UI/ActiveControls/TCallbackClientScript.php b/framework/Web/UI/ActiveControls/TCallbackClientScript.php
index d35e89a0..220b5323 100644
--- a/framework/Web/UI/ActiveControls/TCallbackClientScript.php
+++ b/framework/Web/UI/ActiveControls/TCallbackClientScript.php
@@ -44,6 +44,7 @@ class TCallbackClientScript extends TApplicationComponent
*/
public function __construct()
{
+ parent::__construct();
$this->_actions = new TList;
}
diff --git a/framework/Web/UI/ActiveControls/TCallbackEventParameter.php b/framework/Web/UI/ActiveControls/TCallbackEventParameter.php
index f08d40a9..060c4431 100644
--- a/framework/Web/UI/ActiveControls/TCallbackEventParameter.php
+++ b/framework/Web/UI/ActiveControls/TCallbackEventParameter.php
@@ -4,7 +4,7 @@
*
* @author Wei Zhuo <weizhuo[at]gmail[dot]com>
* @link http://www.pradosoft.com/
- * @copyright Copyright &copy; 2005-2008 PradoSoft
+ * @copyright Copyright &copy; 2005-2010 PradoSoft
* @license http://www.pradosoft.com/license/
* @version $Id$
* @package System.Web.UI.ActiveControls
@@ -48,6 +48,7 @@ class TCallbackEventParameter extends TEventParameter
*/
public function __construct($response, $parameter)
{
+ parent::__construct();
$this->_response = $response;
$this->_parameter = $parameter;
}
diff --git a/framework/Web/UI/ActiveControls/TCallbackResponseAdapter.php b/framework/Web/UI/ActiveControls/TCallbackResponseAdapter.php
index 6425b123..32e93a86 100755
--- a/framework/Web/UI/ActiveControls/TCallbackResponseAdapter.php
+++ b/framework/Web/UI/ActiveControls/TCallbackResponseAdapter.php
@@ -126,6 +126,7 @@ class TCallbackResponseWriter extends TTextWriter
*/
public function __construct()
{
+ parent::__construct();
$this->_boundary = sprintf('%x',crc32(microtime()));
}
diff --git a/framework/Web/UI/ActiveControls/TDropContainer.php b/framework/Web/UI/ActiveControls/TDropContainer.php
index cb0c4cc1..b9981033 100755
--- a/framework/Web/UI/ActiveControls/TDropContainer.php
+++ b/framework/Web/UI/ActiveControls/TDropContainer.php
@@ -265,6 +265,7 @@ class TDropContainerEventParameter extends TEventParameter
public function __construct($dropParams)
{
+ parent::__construct();
$this->_dragElementId = $dropParams->DragElementID;
$this->_screenX = $dropParams->ScreenX;
$this->_screenY = $dropParams->ScreenY;