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

Public Member Functions

 testParseAttach ()
 See issue #128 for more info. More...
 

Detailed Description

Definition at line 8 of file AttachParseTest.php.

Member Function Documentation

◆ testParseAttach()

Sabre\VObject\ICalendar\AttachParseTest::testParseAttach ( )

See issue #128 for more info.

Definition at line 13 of file AttachParseTest.php.

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

13  {
14 
15  $vcal = <<<ICS
16 BEGIN:VCALENDAR
17 BEGIN:VEVENT
18 ATTACH;FMTTYPE=application/postscript:ftp://example.com/pub/reports/r-960812.ps
19 END:VEVENT
20 END:VCALENDAR
21 ICS;
22 
24  $prop = $vcal->VEVENT->ATTACH;
25 
26  $this->assertInstanceOf('Sabre\\VObject\\Property\\URI', $prop);
27  $this->assertEquals('ftp://example.com/pub/reports/r-960812.ps', $prop->getValue());
28 
29 
30  }
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: