Moodle  2.2.1
http://www.collinsharper.com
iCalendar_component Class Reference
Inheritance diagram for iCalendar_component:

Public Member Functions

 __construct ()
 get_name ()
 add_property ($name, $value=NULL, $parameters=NULL)
 add_component ($component)
 get_property_list ($name)
 invariant_holds ()
 is_valid ()
 serialize ()
 unserialize ($string)
 clear_errors ()
 parser_error ($error)

Data Fields

 $name = NULL
 $properties = NULL
 $components = NULL
 $valid_properties = NULL
 $valid_components = NULL
 $parser_errors = NULL

Detailed Description

BENNU - PHP iCalendar library (c) 2005-2006 Ioannis Papaioannou (pj@moodle.org). All rights reserved.

Released under the LGPL.

See http://bennu.sourceforge.net/ for more information and downloads.

Author:
Ioannis Papaioannou http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License

Definition at line 15 of file iCalendar_components.php.


Constructor & Destructor Documentation


Member Function Documentation

add_component ( component)

Definition at line 126 of file iCalendar_components.php.

add_property ( name,
value = NULL,
parameters = NULL 
)

Definition at line 41 of file iCalendar_components.php.

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 318 of file iCalendar_components.php.

Here is the caller graph for this function:

get_name ( )

Definition at line 37 of file iCalendar_components.php.

get_property_list ( name)

Definition at line 146 of file iCalendar_components.php.

Reimplemented in iCalendar_alarm, iCalendar_freebusy, iCalendar_todo, and iCalendar_event.

Definition at line 149 of file iCalendar_components.php.

Here is the caller graph for this function:

is_valid ( )

Definition at line 153 of file iCalendar_components.php.

Here is the caller graph for this function:

parser_error ( error)

Definition at line 322 of file iCalendar_components.php.

Here is the caller graph for this function:

serialize ( )

Definition at line 181 of file iCalendar_components.php.

Here is the call graph for this function:

unserialize ( string)

unserialize()

I needed a way to convert an iCalendar component back to a Bennu object so I could easily access and modify it after it had been stored; if this functionality is already present somewhere in the library, I apologize for adding it here unnecessarily; however, I couldn't find it so I added it myself.

Parameters:
string$stringthe iCalendar object to load in to this iCalendar_component
Returns:
bool true if the file parsed with no errors. False if there were errors.

Definition at line 233 of file iCalendar_components.php.

Here is the call graph for this function:


Field Documentation

$components = NULL

Definition at line 18 of file iCalendar_components.php.

$parser_errors = NULL

Definition at line 25 of file iCalendar_components.php.

$valid_components = NULL

Definition at line 20 of file iCalendar_components.php.

$valid_properties = NULL

Definition at line 19 of file iCalendar_components.php.


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Enumerations