diff options
author | wei <> | 2006-09-01 01:58:35 +0000 |
---|---|---|
committer | wei <> | 2006-09-01 01:58:35 +0000 |
commit | 452fdf99810fae93d3e8735cc9be5e9cbd4b0622 (patch) | |
tree | 47c243a867335bcbe348f2ea029cff257db1db81 /framework/Web/UI/ActiveControls/TBaseActiveControl.php | |
parent | 769856093ded9e4aae341a7d79b7f1441e7d5478 (diff) |
resolve adodb defined clashes, add TCallbackClientScript::fireEvent()
Diffstat (limited to 'framework/Web/UI/ActiveControls/TBaseActiveControl.php')
-rw-r--r-- | framework/Web/UI/ActiveControls/TBaseActiveControl.php | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/framework/Web/UI/ActiveControls/TBaseActiveControl.php b/framework/Web/UI/ActiveControls/TBaseActiveControl.php index ed2e50db..0c54521d 100644 --- a/framework/Web/UI/ActiveControls/TBaseActiveControl.php +++ b/framework/Web/UI/ActiveControls/TBaseActiveControl.php @@ -302,6 +302,23 @@ class TBaseActiveCallbackControl extends TBaseActiveControl }
/**
+ * @param mixed callback parameter value.
+ */
+ public function setCallbackParameter($value)
+ {
+ $this->setOption('CallbackParameter', $value, '');
+ }
+
+ /**
+ * @return mixed callback parameter value.
+ */
+ public function getCallbackParameter()
+ {
+ return $this->getOption('CallbackParameter', '');
+ }
+
+
+ /**
* @return array list of callback javascript options.
*/
protected function getClientSideOptions()
@@ -311,6 +328,7 @@ class TBaseActiveCallbackControl extends TBaseActiveControl $validate = $this->getCausesValidation();
$options['CausesValidation']= $validate ? '' : false;
$options['ValidationGroup']=$this->getValidationGroup();
+ $options['params'] = $this->getCallbackParameter();
return $options;
}
|