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

Public Member Functions

 testRead ()
 

Detailed Description

Definition at line 7 of file Issue64Test.php.

Member Function Documentation

◆ testRead()

Sabre\VObject\Issue64Test::testRead ( )

Definition at line 9 of file Issue64Test.php.

References Sabre\VObject\Reader\read(), and Sabre\VObject\Document\VCARD30.

9  {
10 
11  $vcard = Reader::read(file_get_contents(dirname(__FILE__) . '/issue64.vcf'));
12  $vcard = $vcard->convert(\Sabre\VObject\Document::VCARD30);
13  $vcard = $vcard->serialize();
14 
15  $converted = Reader::read($vcard);
16 
17  $this->assertInstanceOf('Sabre\\VObject\\Component\\VCard', $converted);
18 
19  }
const VCARD30
vCard 3.0.
Definition: Document.php:44
static read($data, $options=0, $charset='UTF-8')
Parses a vCard or iCalendar object, and returns the top component.
Definition: Reader.php:42
+ Here is the call graph for this function:

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