Moodle PHP Documentation 4.4
Moodle 4.4.1 (Build: 20240610) (db07c09afc5)
iCalendar_journal Class Reference
Inheritance diagram for iCalendar_journal:
iCalendar_component

Public Member Functions

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

Public Attributes

 $components = NULL
 
 $name = 'VJOURNAL'
 
$parser_errors $parser_errors = NULL
 Added to hold errors from last run of unserialize array.
 
 $properties
 
 $valid_components = NULL
 
 $valid_properties = NULL
 

Constructor & Destructor Documentation

◆ __construct()

iCalendar_journal::__construct ( )

Reimplemented from iCalendar_component.

Member Function Documentation

◆ unserialize()

iCalendar_component::unserialize ( $string)
inherited

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
Return values
booltrue if the file parsed with no errors. False if there were errors.

The documentation for this class was generated from the following file: