Overview

Namespaces

  • intouch
    • ical

Classes

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

Class Factory

A simple Factory for converting a section/data pair into the corrosponding block-object. If the section isn't known a simple ArrayObject is used instead.

Namespace: intouch\ical
License: CC-BY-SA-DK
Author: Morten Fangel (C) 2008
Author: Michael Kahn (C) 2013
Located at ical/Factory.php
Methods summary
public static
# factory( intouch\ical\iCal $ical, mixed $section, intouch\ical\Line[] $data )

Returns a new block-object for the section/data-pair. The list of returned objects is:

Returns a new block-object for the section/data-pair. The list of returned objects is:

vcalendar => intouch\ical\VCalendar vtimezone => intouch\ical\VTimeZone vevent => intouch\ical\VEvent

  • => ArrayObject

Parameters

$ical
mixed
$ical intouch\ical\iCal The reader this section/data-pair belongs to
$section
mixed
$section string
$data
intouch\ical\Line[]
intouch-iCalendar API documentation generated by ApiGen 2.8.0