Changeset 19135
- Timestamp:
- 2010/11/06 22:43:08 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/camp/camp-2_5-E/data/class/SC_Response.php
r19134 r19135 74 74 function response(){ 75 75 $this->sendHeader(); 76 echo $this->body; 76 echo $this->body; 77 77 } 78 78 79 79 function sendHeader(){ 80 80 // HTTPのヘッダ 81 // header('HTTP/1.1 '.$this->statuscode.' '.$this->statusTexts[$this->statuscode]);81 // header('HTTP/1.1 '.$this->statuscode.' '.$this->statusTexts[$this->statuscode]); 82 82 foreach ($this->header as $name => $head){ 83 83 header($name.': '.$head); … … 91 91 92 92 function setResposeBody(String $body){ 93 93 $this->body = $body; 94 94 } 95 95 96 function addDateHdeader(String $name, $date){ 97 98 } 96 /* function addDateHdeader(String $name, $date){ 97 * 98 * } 99 */ 99 100 function addHeader(String $name, $value){ 100 101 $this->header[$name] = $value;
Note: See TracChangeset
for help on using the changeset viewer.