PHP Class Horde_Data_Imc, horde

Copyright 1999-2016 Horde LLC (http://www.horde.org/) See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.
Author: Jan Schneider ([email protected])
Inheritance: extends Horde_Data_Base
Afficher le fichier Open project: horde/horde

Protected Properties

Свойство Type Description
$_iCal

Méthodes publiques

Méthode Description
exportData ( array $data, string $method = 'REQUEST' ) : string Builds an iCalendar file from a given data structure and returns it as a string.
exportFile ( string $filename, array $data ) Builds an iCalendar file from a given data structure and triggers its download. It DOES NOT exit the current script but only outputs the correct headers and data.
importData ( $text )
nextStep ( integer $action, array $param = [] ) : mixed Takes all necessary actions for the given import step, parameters and form values and returns the next necessary step.

Method Details

exportData() public méthode

Builds an iCalendar file from a given data structure and returns it as a string.
public exportData ( array $data, string $method = 'REQUEST' ) : string
$data array An array containing Horde_Icalendar_Vevent objects
$method string The iTip method to use.
Résultat string The iCalendar data.

exportFile() public méthode

Builds an iCalendar file from a given data structure and triggers its download. It DOES NOT exit the current script but only outputs the correct headers and data.
public exportFile ( string $filename, array $data )
$filename string The name of the file to be downloaded.
$data array An array containing Horde_Icalendar_Vevents

importData() public méthode

public importData ( $text )

nextStep() public méthode

Takes all necessary actions for the given import step, parameters and form values and returns the next necessary step.
public nextStep ( integer $action, array $param = [] ) : mixed
$action integer The current step. One of the IMPORT_* constants.
$param array An associative array containing needed parameters for the current step.
Résultat mixed Either the next step as an integer constant or imported data set after the final step.

Property Details

$_iCal protected_oe property

protected $_iCal