add access-properties

This commit is contained in:
coderkun 2013-09-22 21:48:36 +02:00
commit 996a501f4f
2 changed files with 58 additions and 0 deletions

View file

@ -19,6 +19,12 @@
*/
class WebUtils
{
/**
* HTTP-statuscode 403: Forbidden
*
* @var int
*/
const HTTP_FORBIDDEN = 403;
/**
* HTTP-statuscode 404: Not Found
*
@ -40,6 +46,7 @@
public static $httpStrings = array(
200 => 'OK',
304 => 'Not Modified',
403 => 'Forbidden',
404 => 'Not Found',
503 => 'Service Unavailable'
);