Joomla CMS  3.10.11 (avec JPlatform 13.1 inclus)
Documentation des API du CMS Joomla en version 3.10.11 et du framework Joomla Platform intégré
Tout Structures de données Espaces de nommage Fichiers Fonctions Variables Pages
Référence de la classe EasyPeasyICS

Fonctions membres publiques

 __construct ($calendarName="")
 
 addEvent ($start, $end, $summary='', $description='', $url='', $uid='')
 
 getEvents ()
 
 clearEvents ()
 
 getName ()
 
 setName ($name)
 
 render ($output=true)
 

Attributs protégés

 $calendarName
 
 $events = array()
 

Documentation des constructeurs et destructeur

◆ __construct()

__construct (   $calendarName = "")

Constructor

Paramètres
string$calendarName

Références $calendarName.

Documentation des fonctions membres

◆ addEvent()

addEvent (   $start,
  $end,
  $summary = '',
  $description = '',
  $url = '',
  $uid = '' 
)

Add an event to this calendar.

Paramètres
string$startThe start date and time as a unix timestamp
string$endThe end date and time as a unix timestamp
string$summaryA summary or title for the event
string$descriptionA description of the event
string$urlA URL for the event
string$uidA unique identifier for the event - generated automatically if not provided
Renvoie
array An array of event details, including any generated UID

Références $description, $start, et $url.

◆ clearEvents()

clearEvents ( )

Clear all events.

◆ getEvents()

getEvents ( )
Renvoie
array Get the array of events.

Références $events.

◆ getName()

getName ( )

Get the name of the calendar.

Renvoie
string

Références $calendarName.

◆ render()

render (   $output = true)

Render and optionally output a vcal string.

Paramètres
bool$outputWhether to output the calendar data directly (the default).
Renvoie
string The complete rendered vlal

Références $calendarName, et $output.

◆ setName()

setName (   $name)

Set the name of the calendar.

Paramètres
$name

Références $name.

Documentation des champs

◆ $calendarName

$calendarName
protected

Référencé par __construct(), getName(), et render().

◆ $events

$events = array()
protected

Référencé par getEvents().


La documentation de cette classe a été générée à partir du fichier suivant :