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
License: CC-BY-SA-DK
Author: Morten Fangel (C) 2008
Author: Michael Kahn (C) 2013
Located at ical/Line.php
public
|
|
public
boolean
|
|
public
boolean
|
|
public
string
|
|
public
string
|
|
public
string
|
|
public static
array
|
#
Remove_Line(
A static helper to get a array of intouch\ical\Line's, and calls getData() on each of them to lay the data "bare".. |
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
protected
mixed
|
$ident |
|
|
protected
mixed
|
$data |
|
|
protected
array
|
$params | array() |
|
protected
array
|
$replacements | array('from'=>array('\\,', '\\n', '\\;', '\\:', '\\"'), 'to'=>array(',', "\n", ';', ':', '"')) |