mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 01:01:41 +09:00
Filter error location in JSON and XML responses
This commit is contained in:
parent
1f9fe48170
commit
6a43274826
2 changed files with 23 additions and 0 deletions
|
|
@ -280,6 +280,16 @@ class BaseObject
|
|||
return $output;
|
||||
}
|
||||
|
||||
/**
|
||||
* Method to delete a key
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
function unset($key)
|
||||
{
|
||||
unset($this->variables[$key]);
|
||||
}
|
||||
|
||||
/**
|
||||
* Method to return either true or false depnding on the value in a 'error' variable
|
||||
*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue