Inherited Variables
Inherited Constants
Inherited Methods
Class: HTTP_ResponseHeader
- HTTP_ResponseHeader::__construct()
- HTTP_ResponseHeader::deserializeHeaders()
- Rozparsuje hlavičky a uloží je do pole
Class: HTTP_Header
- HTTP_Header::__construct()
- HTTP_Header::getHeader()
- Vrátí hlavičku podle jména
- HTTP_Header::reset()
- Vymaže hlavičky
- HTTP_Header::serializeHeaders()
- Upraví hlavičky k použití v http
- HTTP_Header::setHeader()
- Nastaví hlavičku
Class Details
Třída, která zabaluje odpověď
Tags:
- version - 1.0
- author - Vojtěch Schlesinger <pif@broskev.cz>
[ Top ]
Class Variables
$body = ''
[line 15]
Tělo odpovědi
Tags:
- access - public
Type: string
Overrides:
[ Top ]
Class Methods
__construct
HTTP_ResponseMessage __construct(
)
[line 18]
Tags:
- access - public
Overrides HTTP_ResponseHeader::__construct() (parent method not documented)
Parameters:
[ Top ]
getBody
string getBody(
)
[line 49]
Vrátí tělo odpovědi
Tags:
- access - public
Parameters:
[ Top ]
getContentType
string getContentType(
)
[line 40]
Zjistí typ dokumentu
Tags:
- access - public
Parameters:
[ Top ]
getStatus
int getStatus(
)
[line 27]
Zjistí stavový HTTP kod
Tags:
- access - public
Parameters:
[ Top ]
reset
void reset(
)
[line 57]
Vymaže tělo a hlavičky
Tags:
- access - public
Overrides HTTP_Header::reset() (Vymaže hlavičky)
Parameters:
[ Top ]