Overview

Namespaces

  • intouch
    • ical

Classes

  • Duration
  • Factory
  • Freq
  • iCal
  • Line
  • Parser
  • Query
  • Recurrence
  • VCalendar
  • VEvent
  • VTimeZone
  • Overview
  • Namespace
  • Class
  • Tree

Class Parser

Class Parser

Namespace: intouch\ical
License: CC-BY-SA-DK
Author: Morten Fangel (C) 2008
Author: Michael Kahn (C) 2013
Located at ical/Parser.php
Methods summary
public static
# Parse( string $url, intouch\ical\iCal $ical )

Fetches $url and passes it on to be parsed

Fetches $url and passes it on to be parsed

Parameters

$url
string
$url
$ical
intouch\ical\iCal$ical
$ical
public static
# ParseString( string $content, intouch\ical\iCal $ical )

Passes a text string on to be parsed

Passes a text string on to be parsed

Parameters

$content
string
$content
$ical
intouch\ical\iCal
$ical
protected static string
# Fetch( mixed $resource )

Fetches a resource and tries to make sure it's UTF8 encoded

Fetches a resource and tries to make sure it's UTF8 encoded

Returns

string
protected static
# UnfoldLines( mixed $content )

Takes the string $content, and creates a array of iCal lines. This includes unfolding multi-line entries into a single line.

Takes the string $content, and creates a array of iCal lines. This includes unfolding multi-line entries into a single line.

Parameters

$content
mixed
$content string
protected static
# storeSection( string $section, string $data, intouch\ical\iCal $ical )

Stores the data in provided intouch\ical\iCalobject

Stores the data in provided intouch\ical\iCalobject

Parameters

$section
string
$section eg 'vcalender', 'vevent' etc
$data
string
$data
$ical
intouch\ical\iCal$ical
$ical
intouch-iCalendar API documentation generated by ApiGen 2.8.0