File_IMC
[ class tree: File_IMC ] [ index: File_IMC ] [ all elements ]

Class: File_IMC_Parse_vCalendar

Source Location: /File_IMC-0.3/File/IMC/Parse/vCalendar.php

Class Overview

File_IMC_Parse
   |
   --File_IMC_Parse_vCalendar

Common parser for IMC files (vCard, vCalendar, iCalendar)


Author(s):


Inherited Variables

Inherited Methods

Class: File_IMC_Parse

File_IMC_Parse::convertLineEndings()
Converts line endings in text.
File_IMC_Parse::fromFile()
Reads a file for parsing, then sends it to $this->fromText() and returns the results.
File_IMC_Parse::fromText()
Prepares a block of text for parsing, then sends it through and returns the results from $this->_fromArray().
File_IMC_Parse::splitByComma()
Splits a string into an array at commas. Honors backslash- escaped commas (i.e., splits at ',' not '\,').
File_IMC_Parse::splitBySemi()
Splits a string into an array at semicolons. Honors backslash- escaped semicolons (i.e., splits at ';' not '\;').
File_IMC_Parse::unescape()
Used to make string human-readable after being a vCard value.

Class Details

[line 57]
Common parser for IMC files (vCard, vCalendar, iCalendar)

This class provides the methods to parse a file into an array. By extending the class, you are able to define functions to handle specific elements that need special decoding. For an example, see File_IMC_Parse_vCard.



[ Top ]


Documentation generated on Sat, 1 May 2004 00:42:15 +0200 by phpDocumentor 1.2.3. PEAR Logo Copyright © PHP Group 2004.