Stud.IP  6.0
Exception Class Reference
Inheritance diagram for Exception:
DoubleRenderError MissingFile RoutingError SessionRequiredException UnknownAction UnknownController

Public Member Functions

 __construct (int $status=500, string $reason=null, array $headers=[])
 
 setHeaders (array $headers)
 
 getHeaders ()
 
 __toString ()
 

Protected Attributes

array $headers
 

Detailed Description

Author
mlunzena
Version
Id
trails.php 7001 2008-04-04 11:20:27Z mlunzena

Constructor & Destructor Documentation

◆ __construct()

__construct ( int  $status = 500,
string  $reason = null,
array  $headers = [] 
)
Parameters
int$statusthe status code to be set in the response
string | null$reasona human readable presentation of the status code
array$headersa hash of additional headers to be set in the response

Member Function Documentation

◆ __toString()

__toString ( )

◆ getHeaders()

getHeaders ( )

◆ setHeaders()

setHeaders ( array  $headers)

Field Documentation

◆ $headers

array $headers
protected

The documentation for this class was generated from the following file: