12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273 |
- <?php
- namespace Sabre\VObject;
- class Reader {
-
- const OPTION_FORGIVING = 1;
-
- const OPTION_IGNORE_INVALID_LINES = 2;
-
- static public function read($data, $options = 0) {
- $parser = new Parser\MimeDir();
- $result = $parser->parse($data, $options);
- return $result;
- }
-
- static public function readJson($data, $options = 0) {
- $parser = new Parser\Json();
- $result = $parser->parse($data, $options);
- return $result;
- }
- }
|