return $this->encode2($var);
}
- /**
+ /**
* encodes an arbitrary variable into JSON format
*
* @param $var Mixed: any number, boolean, string, array, or object to be encoded.
/**
* @todo Ultimately, this should just call PEAR::isError()
+ * @return bool
*/
function isError($data, $code = null)
{