Subversion Repositories eFlore/Applications.cel

Compare Revisions

Ignore whitespace Rev 3472 → Rev 3473

/trunk/jrest/lib/JSON.php
130,7 → 130,7
* bubble up with an error, so all return values
* from encode() should be checked with isError()
*/
function Services_JSON($use = 0)
function __construct($use = 0)
{
$this->use = $use;
}
780,10 → 780,10
 
class Services_JSON_Error extends PEAR_Error
{
function Services_JSON_Error($message = 'unknown error', $code = null,
function __construct($message = 'unknown error', $code = null,
$mode = null, $options = null, $userinfo = null)
{
parent::PEAR_Error($message, $code, $mode, $options, $userinfo);
parent::__construct($message, $code, $mode, $options, $userinfo);
}
}
 
794,7 → 794,7
*/
class Services_JSON_Error
{
function Services_JSON_Error($message = 'unknown error', $code = null,
function __construct($message = 'unknown error', $code = null,
$mode = null, $options = null, $userinfo = null)
{