summaryrefslogtreecommitdiff
path: root/framework/Web/UI/ActiveControls/TCallbackResponse.php
diff options
context:
space:
mode:
authorwei <>2006-05-07 09:47:15 +0000
committerwei <>2006-05-07 09:47:15 +0000
commit12c16fb3c7314b51d74dcaffdca4d311c6fad8c0 (patch)
treeef82b73e3a2fa5f8f313a43ce3dcaaf39f569d8f /framework/Web/UI/ActiveControls/TCallbackResponse.php
parenta7f6c6640ac9295eec3ae2edbb2250179eb85e33 (diff)
Adding TAutoComplete
Diffstat (limited to 'framework/Web/UI/ActiveControls/TCallbackResponse.php')
-rw-r--r--framework/Web/UI/ActiveControls/TCallbackResponse.php13
1 files changed, 10 insertions, 3 deletions
diff --git a/framework/Web/UI/ActiveControls/TCallbackResponse.php b/framework/Web/UI/ActiveControls/TCallbackResponse.php
index 024ad6ef..b28d817b 100644
--- a/framework/Web/UI/ActiveControls/TCallbackResponse.php
+++ b/framework/Web/UI/ActiveControls/TCallbackResponse.php
@@ -7,9 +7,9 @@ class TCallbackResponse extends THttpResponse
{
private $_writers=array();
- public function createHtmlWriter($type=null)
+ public function createHtmlWriter($type=null,$parameter=null)
{
- $writer = new TCallbackResponseWriter();
+ $writer = new TCallbackResponseWriter($parameter);
$this->_writers[] = $writer;
if($type===null)
$type=$this->getHtmlWriterType();
@@ -27,12 +27,19 @@ class TCallbackResponse extends THttpResponse
class TCallbackResponseWriter extends TTextWriter
{
private $_boundary;
+ private $_response;
- public function __construct()
+ public function __construct($response)
{
+ $this->_response = $response;
$this->_boundary = sprintf('%x',crc32((string)$this));
}
+ public function getResponse()
+ {
+ return $this->_response;
+ }
+
public function getBoundary()
{
return $this->_boundary;