mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-05 09:41:40 +09:00
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:
parent
b5d4771754
commit
138eeaf2e3
3 changed files with 115 additions and 24 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue