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

Class: File_IMC_Parse_Vcalendar

Source Location: /File_IMC-0.4.0/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::splitByColon()
Splits the line into types/parameters and values.
File_IMC_Parse::splitByComma()
Splits a string into an array at commas.
File_IMC_Parse::splitByDelim()
Splits a string into an array. Honors backslash-escaped delimiters, (i.e., splits at ';' not '\;') and double-quotes (will not break inside double-quotes ("")).
File_IMC_Parse::splitBySemi()
Splits a string into an array at semicolons.
File_IMC_Parse::unescape()
Used to make string human-readable after being a vCard value.

Class Details

[line 81]
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 Mon, 11 Mar 2019 15:32:03 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.