source: branches/camp/camp-2_5-E/data/class/SC_Response.php @ 19087

Revision 19087, 892 bytes checked in by miningbrownie, 12 years ago (diff)
RevLine 
[18988]1<?php
2class SC_Response{
[19067]3
[18989]4    /**
[19067]5     *
[18989]6     * @var HTTP_Response
7     */
[18988]8    var $http;
[18989]9    /**
10     * コンテンツタイプ
11     * Enter description here ...
12     * @var unknown_type
13     */
[18988]14    var $contentType;
15    var $header;
16    var $body;
[18989]17    var $header = array();
[19067]18
[18989]19    /**
[19067]20     *
[18989]21     * Enter description here ...
22     */
23    var $encoding;
[19067]24
[18988]25    function SC_Response(){
26        $this->http = new HTTP_Response();
27    }
[19067]28
[18988]29    function response(){
[19079]30       
[18988]31    }
[19067]32
[19070]33    function setContentType(String $contentType){
[19067]34
[18988]35    }
[19067]36
[19071]37    function setResponseCode(int $code){
[19069]38
[18988]39    }
[19067]40
[19071]41    function setResposeBody(String $body){
[19067]42
[18988]43    }
[19084]44 
45    function addDateHdeader(String $name, $date){
46       
47    }
[19086]48    function addHeader(String $name, $value){
[19085]49      $this->header[$name] = $value;   
50    }
51   
[19087]52    function containsHeader(String $name){
53        return isset($this->header[$name]);
54    }
[19067]55
[18988]56}
Note: See TracBrowser for help on using the repository browser.