Moodle PHP Documentation 4.3
Moodle 4.3.5 (Build: 20240610) (7dcfaa79f78)
iCalendar_daylight Class Reference
Inheritance diagram for iCalendar_daylight:
iCalendar_standard 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 = 'DAYLIGHT'
 
$parser_errors $parser_errors = NULL
 Added to hold errors from last run of unserialize array.
 
 $properties
 
 $valid_components = NULL
 
 $valid_properties = NULL
 

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: