Stud.IP  2.0 Revision 48548
 All Data Structures Namespaces Files Functions Variables Pages
CalendarWriteriCalendar Class Reference
Inheritance diagram for CalendarWriteriCalendar:
Inheritance graph
Collaboration diagram for CalendarWriteriCalendar:
Collaboration graph

Public Member Functions

 CalendarWriteriCalendar ()
 writeHeader ()
 writeFooter ()
 write (&$event)
 _exportUtcOffset ($value)
 _exportPeriod ($value)
 _exportDateTime ($value)
 _exportTime ($value)
 _exportDate ($value)
 _exportDuration ($value)
 _exportRecurrence ($value)
 _exportWdays ($value)
 _exportExdate ($value, $param)
 _foldLine ($line)
- Public Member Functions inherited from CalendarWriter
 CalendarWriter ()
 getDefaultFilenameSuffix ()
 getFormat ()

Data Fields

 $newline = "\r\n"
- Data Fields inherited from CalendarWriter
 $default_filename_suffix
 $format

Member Function Documentation

_exportDate (   $value)

Export a Date field

Here is the caller graph for this function:

_exportDateTime (   $value)

Export a DateTime field

Parameters
int$valueUnix timestamp
Returns
String Date and time (UTC) iCalendar formatted

Here is the call graph for this function:

Here is the caller graph for this function:

_exportDuration (   $value)

Export a duration value

Here is the caller graph for this function:

_exportExdate (   $value,
  $param 
)

Here is the call graph for this function:

Here is the caller graph for this function:

_exportPeriod (   $value)

Export a Time Period field

Parameters
array$value
Returns
String Period field iCalendar formatted

Here is the call graph for this function:

Here is the caller graph for this function:

_exportRecurrence (   $value)

*Export a recurrence rule

Here is the call graph for this function:

Here is the caller graph for this function:

_exportTime (   $value)

Export a Time field

Parameters
int$valueUnix timestamp
Returns
String Time (UTC) iCalendar formatted

Here is the caller graph for this function:

_exportUtcOffset (   $value)

Export a UTC Offset field

Parameters
array$value
Returns
String UTC offset field iCalendar formatted

Here is the caller graph for this function:

_exportWdays (   $value)

Return the Stud.IP calendar wdays attribute of a event recurrence

Here is the caller graph for this function:

_foldLine (   $line)

Return the folded version of a line

Here is the caller graph for this function:

Here is the call graph for this function:

write ( $event)

Export this component as iCalendar format

Parameters
object$eventThe event to export.
Returns
String iCalendar formatted data

Reimplemented from CalendarWriter.

Here is the call graph for this function:

writeFooter ( )
writeHeader ( )

Field Documentation

$newline = "\r\n"

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