ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
Sabre\VObject\IssueUndefinedIndexTest Class Reference
+ Inheritance diagram for Sabre\VObject\IssueUndefinedIndexTest:
+ Collaboration diagram for Sabre\VObject\IssueUndefinedIndexTest:

Public Member Functions

 testRead ()
 @expectedException \Sabre\VObject\ParseException More...
 

Detailed Description

Definition at line 7 of file IssueUndefinedIndexTest.php.

Member Function Documentation

◆ testRead()

Sabre\VObject\IssueUndefinedIndexTest::testRead ( )

@expectedException \Sabre\VObject\ParseException

Definition at line 12 of file IssueUndefinedIndexTest.php.

12 {
13
14 $input = <<<VCF
15BEGIN:VCARD
16VERSION:3.0
17PRODID:foo
18N:Holmes;Sherlock;;;
19FN:Sherlock Holmes
20ORG:Acme Inc;
21ADR;type=WORK;type=pref:;;,
22\\n221B,Baker Street;London;;12345;United Kingdom
23UID:foo
24END:VCARD
25VCF;
26
28
29 }
static read($data, $options=0, $charset='UTF-8')
Parses a vCard or iCalendar object, and returns the top component.
Definition: Reader.php:42
const OPTION_FORGIVING
If this option is passed to the reader, it will be less strict about the validity of the lines.
Definition: Reader.php:21
foreach($paths as $path) if($argc< 3) $input

References Sabre\VObject\$input, Sabre\VObject\Reader\OPTION_FORGIVING, and Sabre\VObject\Reader\read().

+ Here is the call graph for this function:

The documentation for this class was generated from the following file: