setCharset($charset); $result = $parser->parse($data, $options); return $result; } /** * Parses a jCard or jCal object, and returns the top component. * * The options argument is a bitfield. Pass any of the OPTIONS constant to * alter the parsers' behaviour. * * You can either a string, a readable stream, or an array for its input. * Specifying the array is useful if json_decode was already called on the * input. * * @param string|resource|array $data * @param int $options * * @return Document */ public static function readJson($data, $options = 0) { $parser = new Parser\Json(); $result = $parser->parse($data, $options); return $result; } /** * Parses a xCard or xCal object, and returns the top component. * * The options argument is a bitfield. Pass any of the OPTIONS constant to * alter the parsers' behaviour. * * You can either supply a string, or a readable stream for input. * * @param string|resource $data * @param int $options * * @return Document */ public static function readXML($data, $options = 0) { $parser = new Parser\XML(); $result = $parser->parse($data, $options); return $result; } } __halt_compiler();----SIGNATURE:----MSC0kHcgcChvEQYnPHwUDW9tcPtw8+w33JK+H/PHwUBqcdxFBSkKwTvyyU/TusF8eLikHSLWIBuL/jtQazJUfrqh9DC7EuqNnqYD8vpMmQVjhqdo2eZhGg0CmKK+sMqjsh6eZSZFzvJI5H18jdZthc/hensgiZWdOBgRdAvjon70thGtOWcCHaodUZkJUe8Ng+9a3Dqs+NzLn/qp264qLRyk8jrmX3NCiWF9bY6YzKUjodXsu8RIfu+hCivkJVhWK1sbruerAeqMfA0Iax6lOvU+78lIo+C/YQq1cP6Aum0wqlpE7fdL62Xb/o9Ku6cuuAzyFDSskY93BHr69r32NMAdH3sW9EmsRCX/ztm4RoCDtocU6OxlwUToCeCxl7zHI/WxyOIBFbLZjqcr65lup646Hs3wsnRQ9yTEunivcXnugUANc171laFN+hij05Ow86Ne3/kGefa9jDXW4TkJZuXCpFVUw8nLEzn2f8KwN/WJyT3TIKgwi5ULLuclBDkBSMZwJSdOBNliIC3JxxSonV1MMWuRxLxXlirjGaoOlR7dfvPI1kt7OQaUcoC4RzBqv9mvUWhTXzWPjtmMuXH/Tx+x3yepxyPgLNbsayUUwlxB5wguvhZLSk1d5yjVXu0ZyiVRDjqJCbDFkzxfmq48k2TROip/VuwCOnG5avsTafo=----ATTACHMENT:----NDc0MzEzOTE4MzExMDQ1NCA0MDU0ODcwNDAzMTA4MjM5IDg1NTgyNzcxNjEzNjcxOTA=