ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
◀ ilDoc Overview
Issue64Test.php
Go to the documentation of this file.
1
<?
php
2
3
namespace
Sabre\VObject
;
4
5
use
PHPUnit\Framework\TestCase
;
6
7
class
Issue64Test
extends
TestCase {
8
9
function
testRead
() {
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
}
20
21
}
Sabre\VObject\Issue64Test
Definition:
Issue64Test.php:7
Sabre\VObject
Definition:
mergeduplicates.php:4
Sabre
Sabre\VObject\Document\VCARD30
const VCARD30
vCard 3.0.
Definition:
Document.php:44
Sabre\VObject\Reader\read
static read($data, $options=0, $charset='UTF-8')
Parses a vCard or iCalendar object, and returns the top component.
Definition:
Reader.php:42
Sabre\VObject\Issue64Test\testRead
testRead()
Definition:
Issue64Test.php:9
php
TestCase
libs
composer
vendor
sabre
vobject
tests
VObject
Issue64Test.php
Generated on Thu Jan 16 2025 19:01:53 for ILIAS by
1.8.13 (using
Doxyfile
)