Changeset 19135


Ignore:
Timestamp:
2010/11/06 22:43:08 (12 years ago)
Author:
miningbrownie
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/camp/camp-2_5-E/data/class/SC_Response.php

    r19134 r19135  
    7474    function response(){ 
    7575        $this->sendHeader(); 
    76         echo $this->body;         
     76        echo $this->body; 
    7777    } 
    7878 
    7979    function sendHeader(){ 
    8080        // HTTPのヘッダ 
    81 //        header('HTTP/1.1 '.$this->statuscode.' '.$this->statusTexts[$this->statuscode]); 
     81        //        header('HTTP/1.1 '.$this->statuscode.' '.$this->statusTexts[$this->statuscode]); 
    8282        foreach ($this->header as $name => $head){ 
    8383            header($name.': '.$head); 
     
    9191 
    9292    function setResposeBody(String $body){ 
    93  
     93        $this->body = $body; 
    9494    } 
    9595 
    96     function addDateHdeader(String $name, $date){ 
    97  
    98     } 
     96    /*    function addDateHdeader(String $name, $date){ 
     97     * 
     98     *   } 
     99     */ 
    99100    function addHeader(String $name, $value){ 
    100101        $this->header[$name] = $value; 
Note: See TracChangeset for help on using the changeset viewer.