Overview

Namespaces

  • intouch
    • ical

Classes

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

Class Line

A class for storing a single (complete) line of the iCal file. Will find the line-type, the arguments and the data of the file and store them.

The line-type can be found by querying getIdent(), data via either getData() or typecasting to a string. Params can be access via the ArrayAccess. A iterator is also avilable to iterator over the params.

intouch\ical\Line implements ArrayAccess, Countable, IteratorAggregate
Namespace: intouch\ical
License: CC-BY-SA-DK
Author: Morten Fangel (C) 2008
Author: Michael Kahn (C) 2013
Located at ical/Line.php
Methods summary
public
# __construct( mixed $line )

Constructs a new line.

Constructs a new line.

public boolean
# isBegin( )

Is this line the begining of a new block?

Is this line the begining of a new block?

Returns

boolean
public boolean
# isEnd( )

Is this line the end of a block?

Is this line the end of a block?

Returns

boolean
public string
# getIdent( )

Returns the line-type (ident) of the line

Returns the line-type (ident) of the line

Returns

string
public string
# getData( )

Returns the content of the line

Returns the content of the line

Returns

string
public string
# getDataAsArray( )

Returns the content of the line

Returns the content of the line

Returns

string
public static array
# Remove_Line( intouch\ical\Line[] $arr )

A static helper to get a array of intouch\ical\Line's, and calls getData() on each of them to lay the data "bare"..

A static helper to get a array of intouch\ical\Line's, and calls getData() on each of them to lay the data "bare"..

Parameters

$arr
intouch\ical\Line[]

Returns

array
public
# offsetExists( mixed $param )

See

ArrayAccess.offsetExists

Implementation of

ArrayAccess::offsetExists()
public
# offsetGet( mixed $param )

See

ArrayAccess.offsetGet

Implementation of

ArrayAccess::offsetGet()
public
# offsetSet( mixed $param, mixed $val )

Disabled ArrayAccess requirement

Disabled ArrayAccess requirement

See

ArrayAccess.offsetSet

Implementation of

ArrayAccess::offsetSet()
public
# offsetUnset( mixed $param )

Disabled ArrayAccess requirement

Disabled ArrayAccess requirement

See

ArrayAccess.offsetUnset

Implementation of

ArrayAccess::offsetUnset()
public
# __toString( )

toString method.

toString method.

See

intouch\ical\Line::getData()
public
# count( )

See

Countable.count

Implementation of

Countable::count()
public
# getIterator( )

See

IteratorAggregate.getIterator

Implementation of

IteratorAggregate::getIterator()
Properties summary
protected mixed $ident
#
protected mixed $data
#
protected array $params array()
#
protected array $replacements array('from'=>array('\\,', '\\n', '\\;', '\\:', '\\"'), 'to'=>array(',', "\n", ';', ':', '"'))
#
intouch-iCalendar API documentation generated by ApiGen 2.8.0