51 "1979-12-25T02:00:00",
57 "1995-10-31T22:27:10Z",
69 [
"Last",
"First",
"Middle",
"",
""],
94 [
"My Street",
"Left Side",
"Second Shack"],
171 BDAY;X-PARAM=1,2;VALUE=DATE:1979-12-25
172 BDAY;VALUE=DATE-TIME:1979-12-25T02:00:00
173 REV:1995-10-31T22:27:10Z
175 N:Last;First;Middle;;
176 item1.TEL:+1 555 123456
177 item1.X-AB-LABEL:Walkie Talkie
178 ADR:;;My Street,Left Side,Second Shack;Hometown;PA;18252;U.S.A
179 X-TRUNCATED;VALUE=DATE:--12-25
180 X-TIME-LOCAL;VALUE=TIME:123000
181 X-TIME-UTC;VALUE=TIME:123000Z
182 X-TIME-OFFSET;VALUE=TIME:123000-0800
183 X-TIME-REDUCED;VALUE=TIME:23
184 X-TIME-TRUNCATED;VALUE=TIME:--30
185 X-KARMA-POINTS;VALUE=INTEGER:42
186 X-GRADE;VALUE=FLOAT:1.3
187 TZ;VALUE=UTC-OFFSET:-0500
191 $this->assertEquals($expected, str_replace(
"\r",
"",
$result));
195 $vobj->jsonSerialize()
228 "uid", new \StdClass(),
"text",
"foo",
231 "dtstart", new \StdClass(),
"date",
"2013-05-26",
234 "duration", new \StdClass(),
"duration",
"P1D",
237 "categories", new \StdClass(),
"text",
"home",
"testing",
240 "created", new \StdClass(),
"date-time",
"2013-05-26T18:10:00Z",
243 "attach", new \StdClass(),
"binary", base64_encode(
'attachment')
246 "attendee", new \StdClass(),
"cal-address",
"mailto:armin@example.org",
252 "partstat" =>
"DECLINED",
255 "mailto:dominik@example.org" 258 "geo",
new \StdClass(),
"float", [51.96668, 7.61876],
261 "sequence", new \StdClass(),
"integer", 5
264 "freebusy", new \StdClass(),
"period", [
"2013-05-26T21:02:13",
"PT1H"], [
"2013-06-26T12:00:00",
"2013-06-26T13:00:00"],
267 "url", new \StdClass(),
"uri",
"http://example.org/",
270 "tzoffsetfrom", new \StdClass(),
"utc-offset",
"+05:00",
273 "rrule", new \StdClass(),
"recur", [
275 'byday' => [
'MO',
'TU'],
279 "x-bool", new \StdClass(),
"boolean", true
282 "x-time", new \StdClass(),
"time",
"08:00:00",
294 [
"3.7",
"Invalid Calendar User",
"ATTENDEE:mailto:jsmith@example.org"],
301 "action", new \StdClass(),
"text",
"DISPLAY",
324 DTSTART;VALUE=DATE:20130526
326 CATEGORIES:home,testing
327 CREATED:20130526T181000Z
328 ATTACH;VALUE=BINARY:YXR0YWNobWVudA==
329 ATTENDEE:mailto:armin@example.org
330 ATTENDEE;CN=Dominik;PARTSTAT=DECLINED:mailto:dominik@example.org
333 FREEBUSY:20130526T210213/PT1H,20130626T120000/20130626T130000
336 RRULE:FREQ=WEEKLY;BYDAY=MO,TU
337 X-BOOL;VALUE=BOOLEAN:TRUE
338 X-TIME;VALUE=TIME:080000
339 REQUEST-STATUS:2.0;Success
340 REQUEST-STATUS:3.7;Invalid Calendar User;ATTENDEE:mailto:jsmith@example.org
348 $this->assertEquals($expected, str_replace(
"\r",
"",
$result));
352 $vobj->jsonSerialize()
363 "FN", new \StdClass(),
'text',
"foo",
373 $this->assertEquals(
'foo',
$result->FN->getValue());
387 "FN", new \StdClass(),
'text',
"foo",
392 $json->parse(json_encode(
$input), 0);
const VERSION
Full version number.
$stream
PHP stream implementation.
static http()
Fetches the global http state from ILIAS.
static readJson($data, $options=0)
Parses a jCard or jCal object, and returns the top component.