Definition at line 7 of file Issue96Test.php.
◆ testRead()
Sabre\VObject\Issue96Test::testRead |
( |
| ) |
|
Definition at line 9 of file Issue96Test.php.
9 {
10
12BEGIN:VCARD
13VERSION:2.1
14SOURCE:Yahoo Contacts (
http:
15URL;CHARSET=utf-8;ENCODING=QUOTED-PRINTABLE:=
17END:VCARD
18VCF;
19
21 $this->assertInstanceOf('Sabre\\VObject\\Component\\VCard', $vcard);
22 $this->assertEquals("http://www.example.org", $vcard->URL->getValue());
23
24 }
static read($data, $options=0, $charset='UTF-8')
Parses a vCard or iCalendar object, and returns the top component.
const OPTION_FORGIVING
If this option is passed to the reader, it will be less strict about the validity of the lines.
static http()
Fetches the global http state from ILIAS.
foreach($paths as $path) if($argc< 3) $input
References Sabre\VObject\$input, ILIAS\FileDelivery\http(), Sabre\VObject\Reader\OPTION_FORGIVING, and Sabre\VObject\Reader\read().
The documentation for this class was generated from the following file: