Changeset 19093
- Timestamp:
- 2010/11/06 22:18:59 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/camp/camp-2_5-E/data/class/SC_Response.php
r19092 r19093 29 29 30 30 function response(){ 31 31 32 32 } 33 function setContentLength; 33 34 function setContentLength(int $length){ 35 36 } 37 34 38 35 39 function setContentType(String $contentType){ … … 44 48 45 49 } 46 50 47 51 function addDateHdeader(String $name, $date){ 48 52 49 53 } 50 54 function addHeader(String $name, $value){ 51 $this->header[$name] = $value;55 $this->header[$name] = $value; 52 56 } 53 57 54 58 function containsHeader(String $name){ 55 59 return isset($this->header[$name]); 56 60 } 57 61 58 62 function sendError(int $errorcode){ 59 63 60 64 } 61 65 62 66 function sendRedirect(String $location){ 63 67 64 68 } 65 69 66 70 function setHeader(Array $headers){ 67 71 $this->header = $headers; 68 72 } 69 73 70 74 function setStatus(int $sc = 202){ 71 75 $this->statuscode = $sc;
Note: See TracChangeset
for help on using the changeset viewer.