From a4a558b0140db3edde9978fc899a188486ae61cc Mon Sep 17 00:00:00 2001 From: ctrlaltca <> Date: Sat, 19 May 2012 11:08:20 +0000 Subject: fix #402 --- framework/Web/UI/ActiveControls/TActiveDatePicker.php | 8 ++++++++ framework/Web/UI/ActiveControls/TActiveFileUpload.php | 8 ++++++++ framework/Web/UI/ActiveControls/TActivePager.php | 3 +-- framework/Web/UI/ActiveControls/TActiveTableCell.php | 8 ++++++++ framework/Web/UI/ActiveControls/TActiveTableRow.php | 8 ++++++++ framework/Web/UI/ActiveControls/TEventTriggeredCallback.php | 2 +- framework/Web/UI/ActiveControls/TTimeTriggeredCallback.php | 2 -- 7 files changed, 34 insertions(+), 5 deletions(-) (limited to 'framework/Web/UI/ActiveControls') diff --git a/framework/Web/UI/ActiveControls/TActiveDatePicker.php b/framework/Web/UI/ActiveControls/TActiveDatePicker.php index 515eb29a..d7b643ed 100755 --- a/framework/Web/UI/ActiveControls/TActiveDatePicker.php +++ b/framework/Web/UI/ActiveControls/TActiveDatePicker.php @@ -86,6 +86,14 @@ class TActiveDatePicker extends TDatePicker implements ICallbackEventHandler, I return $this->getAdapter()->getBaseActiveControl(); } + /** + * @return TCallbackClientSide client side request options. + */ + public function getClientSide() + { + return $this->getAdapter()->getBaseActiveControl()->getClientSide(); + } + /** * Client-side Text property can only be updated after the OnLoad stage. * @param string text content for the textbox diff --git a/framework/Web/UI/ActiveControls/TActiveFileUpload.php b/framework/Web/UI/ActiveControls/TActiveFileUpload.php index 0ceb82fc..b4557cd8 100755 --- a/framework/Web/UI/ActiveControls/TActiveFileUpload.php +++ b/framework/Web/UI/ActiveControls/TActiveFileUpload.php @@ -353,6 +353,14 @@ EOS; return $this->getAdapter()->getBaseActiveControl(); } + /** + * @return TCallbackClientSide client side request options. + */ + public function getClientSide() + { + return $this->getAdapter()->getBaseActiveControl()->getClientSide(); + } + /** * Adds ID attribute, and renders the javascript for active component. * @param THtmlWriter the writer used for the rendering purpose diff --git a/framework/Web/UI/ActiveControls/TActivePager.php b/framework/Web/UI/ActiveControls/TActivePager.php index 7aac0333..009977d0 100644 --- a/framework/Web/UI/ActiveControls/TActivePager.php +++ b/framework/Web/UI/ActiveControls/TActivePager.php @@ -49,8 +49,7 @@ class TActivePager extends TPager implements IActiveControl, ICallbackEventHandl { return $this->getAdapter()->getBaseActiveControl(); } - - + /** * @return TCallbackClientSide client side request options. */ diff --git a/framework/Web/UI/ActiveControls/TActiveTableCell.php b/framework/Web/UI/ActiveControls/TActiveTableCell.php index 32c9bd46..73e98967 100644 --- a/framework/Web/UI/ActiveControls/TActiveTableCell.php +++ b/framework/Web/UI/ActiveControls/TActiveTableCell.php @@ -74,6 +74,14 @@ class TActiveTableCell extends TTableCell implements ICallbackEventHandler, IAct return $this->getAdapter()->getBaseActiveControl(); } + /** + * @return TCallbackClientSide client side request options. + */ + public function getClientSide() + { + return $this->getAdapter()->getBaseActiveControl()->getClientSide(); + } + /** * @return string corresponding javascript class name for this TActiveTableCell. */ diff --git a/framework/Web/UI/ActiveControls/TActiveTableRow.php b/framework/Web/UI/ActiveControls/TActiveTableRow.php index f021de7e..6beeb27e 100644 --- a/framework/Web/UI/ActiveControls/TActiveTableRow.php +++ b/framework/Web/UI/ActiveControls/TActiveTableRow.php @@ -75,6 +75,14 @@ class TActiveTableRow extends TTableRow implements ICallbackEventHandler, IActiv return $this->getAdapter()->getBaseActiveControl(); } + /** + * @return TCallbackClientSide client side request options. + */ + public function getClientSide() + { + return $this->getAdapter()->getBaseActiveControl()->getClientSide(); + } + /** * @return string corresponding javascript class name for this TActiveTableRow. */ diff --git a/framework/Web/UI/ActiveControls/TEventTriggeredCallback.php b/framework/Web/UI/ActiveControls/TEventTriggeredCallback.php index e99e8ce7..7c50f02d 100644 --- a/framework/Web/UI/ActiveControls/TEventTriggeredCallback.php +++ b/framework/Web/UI/ActiveControls/TEventTriggeredCallback.php @@ -4,7 +4,7 @@ * * @author Wei Zhuo * @link http://www.pradosoft.com/ - * @copyright Copyright © 2005-2011 PradoSoft + * @copyright Copyright © 2005-2011 PradoSoft * @license http://www.pradosoft.com/license/ * @version $Id$ * @package System.Web.UI.ActiveControls diff --git a/framework/Web/UI/ActiveControls/TTimeTriggeredCallback.php b/framework/Web/UI/ActiveControls/TTimeTriggeredCallback.php index 8a97ecb9..39978bcf 100644 --- a/framework/Web/UI/ActiveControls/TTimeTriggeredCallback.php +++ b/framework/Web/UI/ActiveControls/TTimeTriggeredCallback.php @@ -126,5 +126,3 @@ class TTimeTriggeredCallback extends TCallback return 'Prado.WebUI.TTimeTriggeredCallback'; } } - -?> -- cgit v1.2.3