summaryrefslogtreecommitdiff
path: root/framework/Web/UI/ActiveControls/TCallbackClientSideOptions.php
diff options
context:
space:
mode:
authorwei <>2006-05-06 02:26:20 +0000
committerwei <>2006-05-06 02:26:20 +0000
commita7f6c6640ac9295eec3ae2edbb2250179eb85e33 (patch)
tree8a3879c747dfc3bcd5d65f334341ea7c81ced268 /framework/Web/UI/ActiveControls/TCallbackClientSideOptions.php
parent46155621cbf97191fca495cbd09a2eedd82afa82 (diff)
Adding TActiveButton and TActiveTextBox
Diffstat (limited to 'framework/Web/UI/ActiveControls/TCallbackClientSideOptions.php')
-rw-r--r--framework/Web/UI/ActiveControls/TCallbackClientSideOptions.php10
1 files changed, 6 insertions, 4 deletions
diff --git a/framework/Web/UI/ActiveControls/TCallbackClientSideOptions.php b/framework/Web/UI/ActiveControls/TCallbackClientSideOptions.php
index 8c6732e3..3eadcd29 100644
--- a/framework/Web/UI/ActiveControls/TCallbackClientSideOptions.php
+++ b/framework/Web/UI/ActiveControls/TCallbackClientSideOptions.php
@@ -221,11 +221,12 @@ class TCallbackClientSideOptions extends TClientSideOptions
/**
* @return boolean true if the callback request has priority and will abort
* existing prioritized request in order to send immediately. It does not
- * affect callbacks that are not prioritized.
+ * affect callbacks that are not prioritized. Default is true.
*/
public function getHasPriority()
{
- return $this->getOption('HasPriority');
+ $option = $this->getOption('HasPriority');
+ return is_null($option) ? true : $option;
}
/**
@@ -257,11 +258,12 @@ class TCallbackClientSideOptions extends TClientSideOptions
/**
* @return boolean client-side viewstate will be updated on callback
- * response if true.
+ * response if true. Default is true.
*/
public function getEnablePageStateUpdate()
{
- return $this->getOption('EnablePageStateUpdate');
+ $option = $this->getOption('EnablePageStateUpdate');
+ return is_null($option) ? true : $option;
}
}