summaryrefslogtreecommitdiff
path: root/framework/Web/UI
diff options
context:
space:
mode:
authorxue <>2006-01-24 23:21:08 +0000
committerxue <>2006-01-24 23:21:08 +0000
commit3f803219e784b53f363b5ef25b3be00fd310fb1c (patch)
treec606dea115d680a850c19e6a5da82f83e0a63fcf /framework/Web/UI
parentfd1af57313ceeed7a4ffc29e45455df666d30f3c (diff)
Modified THttpRequest and THttpSession so that they can be used like an array. Items properties are removed as a result.
Diffstat (limited to 'framework/Web/UI')
-rw-r--r--framework/Web/UI/TPage.php2
-rw-r--r--framework/Web/UI/TPageStatePersister.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/framework/Web/UI/TPage.php b/framework/Web/UI/TPage.php
index f4d5fa99..70439237 100644
--- a/framework/Web/UI/TPage.php
+++ b/framework/Web/UI/TPage.php
@@ -489,7 +489,7 @@ class TPage extends TTemplateControl
*/
private function determinePostBackMode()
{
- $postData=$this->getApplication()->getRequest()->getItems();
+ $postData=$this->getRequest();
if($postData->contains(self::FIELD_PAGESTATE) || $postData->contains(self::FIELD_POSTBACK_TARGET))
$this->_postData=$postData;
}
diff --git a/framework/Web/UI/TPageStatePersister.php b/framework/Web/UI/TPageStatePersister.php
index bc65f74a..4ece9a09 100644
--- a/framework/Web/UI/TPageStatePersister.php
+++ b/framework/Web/UI/TPageStatePersister.php
@@ -70,7 +70,7 @@ class TPageStatePersister extends TModule implements IStatePersister
public function load()
{
Prado::trace("Loading state",'System.Web.UI.TPageStatePersister');
- $str=base64_decode($this->getApplication()->getRequest()->getItems()->itemAt(TPage::FIELD_PAGESTATE));
+ $str=base64_decode($this->getRequest()->itemAt(TPage::FIELD_PAGESTATE));
if($str==='')
return null;
if(extension_loaded('zlib'))