ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
◀ ilDoc Overview
IssueUndefinedIndexTest.php
Go to the documentation of this file.
1
<?
php
2
3
namespace
Sabre\VObject
;
4
5
use
PHPUnit\Framework\TestCase
;
6
7
class
IssueUndefinedIndexTest
extends
TestCase {
8
12
function
testRead
() {
13
14
$input
= <<<VCF
15
BEGIN:VCARD
16
VERSION:3.0
17
PRODID:foo
18
N:Holmes;Sherlock;;;
19
FN:Sherlock Holmes
20
ORG:
Acme
Inc;
21
ADR;type=WORK;type=pref:;;,
22
\\n221B,Baker Street;London;;12345;United Kingdom
23
UID:foo
24
END:VCARD
25
VCF;
26
27
$vcard =
Reader::read
(
$input
,
Reader::OPTION_FORGIVING
);
28
29
}
30
31
}
Sabre\VObject
Definition:
mergeduplicates.php:4
Sabre\VObject\$input
if($argc< 3) $input
Definition:
mergeduplicates.php:35
Sabre\VObject\IssueUndefinedIndexTest\testRead
testRead()
Definition:
IssueUndefinedIndexTest.php:12
Acme
Definition:
IntrospectionProcessorTest.php:12
Sabre\VObject\IssueUndefinedIndexTest
Definition:
IssueUndefinedIndexTest.php:7
Sabre\VObject\Reader\OPTION_FORGIVING
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
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
php
TestCase
libs
composer
vendor
sabre
vobject
tests
VObject
IssueUndefinedIndexTest.php
Generated on Thu Jan 16 2025 19:01:53 for ILIAS by
1.8.13 (using
Doxyfile
)