diff options
author | wei <> | 2006-04-30 00:15:23 +0000 |
---|---|---|
committer | wei <> | 2006-04-30 00:15:23 +0000 |
commit | 10b65d6d03ee0afc1ec1a50f320af42a79f5492b (patch) | |
tree | d6b8167e0d224f21db6a16da251ba4d069468543 /framework/Web/UI/ActiveControls/TCallbackResponse.php | |
parent | 2cc93773feb5e76d2dd002b1dcd463a01d606794 (diff) |
Adding Callback foundations.
Diffstat (limited to 'framework/Web/UI/ActiveControls/TCallbackResponse.php')
-rw-r--r-- | framework/Web/UI/ActiveControls/TCallbackResponse.php | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/framework/Web/UI/ActiveControls/TCallbackResponse.php b/framework/Web/UI/ActiveControls/TCallbackResponse.php new file mode 100644 index 00000000..bda4e916 --- /dev/null +++ b/framework/Web/UI/ActiveControls/TCallbackResponse.php @@ -0,0 +1,20 @@ +<?php
+/*
+ * Created on 29/04/2006
+ */
+
+// See TActivePageAdapter::renderResponse()
+//TODO: How to render the response, it will contain 3 pieces of data
+// 1) The arbituary data returned to the client-side callback handler
+// 2) client-side function call statements
+// 3) Content body, which may need to be partitioned
+
+class TCallbackResponse extends THttpResponse
+{
+ const CALLBACK_DATA_HEADER = 'X-PRADO-DATA';
+ const CALLBACK_ACTION_HEADER = 'X-PRADO-ACTIONS';
+}
+
+
+
+?>
|