issue 78 developement http status code display

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9569 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ovclas 2011-10-11 05:52:33 +00:00
parent b5d4771754
commit 138eeaf2e3
3 changed files with 115 additions and 24 deletions

View file

@ -13,6 +13,7 @@
var $message = 'success'; // / "Error message (if success, it is not an error)
var $variables = array(); // /< an additional variable
var $httpStatusCode = NULL; ///< http status code.
/**
* @brief constructor
@ -37,6 +38,16 @@
return $this->error;
}
function setHttpStatusCode($code = '200')
{
$this->httpStatusCode = $code;
}
function getHttpStatusCode()
{
return $this->httpStatusCode;
}
/**
* @brief Setter to set set the error message
* @param[in] $message a messge string