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