PHP 클래스 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.
파일 보기
프로젝트 열기: horde/horde
보호된 프로퍼티들
공개 메소드들
메소드 |
설명 |
|
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. |
|
메소드 상세
Builds an iCalendar file from a given data structure and
returns it as a string.
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 |
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. |
리턴 |
mixed |
Either the next step as an integer constant or imported
data set after the final step. |
프로퍼티 상세