• Main Page
  • Related Pages
  • Namespaces
  • Data Structures
  • Files
  • Examples
  • File List

E:/E/GEAMP/www/openbiz/openbiz/others/Zend/Json/Server/Request/Http.php

00001 <?php
00025 require_once 'Zend/Json/Server/Request.php';
00026 
00033 class Zend_Json_Server_Request_Http extends Zend_Json_Server_Request
00034 {
00039     protected $_rawJson;
00040 
00048     public function __construct()
00049     {
00050         $json = file_get_contents('php://input');
00051         $this->_rawJson = $json;
00052         if (!empty($json)) {
00053             $this->loadJson($json);
00054         }
00055     }
00056 
00062     public function getRawJson()
00063     {
00064         return $this->_rawJson;
00065     }
00066 }

Generated on Thu Apr 19 2012 17:01:17 for openbiz by  doxygen 1.7.2