コード例 #1
0
ファイル: HttpUtils.php プロジェクト: danat/yii-rest-utils
 /**
  * @return array
  */
 public static function getHttpArgs()
 {
     if (is_null(self::$input)) {
         $json = file_get_contents('php://input');
         $result = CJSON::decode($json, true);
         self::$input = $result;
     }
     return self::$input;
 }