LEPTON CMS 7.2.0
feel free to keep it strictly simple...
|
Go to the source code of this file.
Functions | |
create_iCal_file (string $title, string $location='Anywhere', string $startdate='2025-01-01', string $starttime='10:30:00', string $enddate='2025-01-01', string $endtime='12:00:00', string $description='Description', string $reminder='60', string $reminder_text='Reminder', string $filename=LEPTON_PATH.MEDIA_DIRECTORY.'/event.ics') | |
Variables | |
if(!defined("SEC_FILE")) if(defined('LEPTON_PATH')) | else |
$root = $oneback | |
$level = 1 | |
create_iCal_file | ( | string | $title, |
string | $location = 'Anywhere', | ||
string | $startdate = '2025-01-01', | ||
string | $starttime = '10:30:00', | ||
string | $enddate = '2025-01-01', | ||
string | $endtime = '12:00:00', | ||
string | $description = 'Description', | ||
string | $reminder = '60', | ||
string | $reminder_text = 'Reminder', | ||
string | $filename = LEPTON_PATH.MEDIA_DIRECTORY.'/event.ics' ) |
Function to create and save an iCal file from given data Detailed information: https://datatracker.ietf.org/doc/html/rfc5545
string | $title | The name of the event |
string | $location | The location of the event |
string | $startdate | The startdate, format = yyyy-mm-dd |
string | $starttime | The starttime, format = h:m |
string | $enddate | The enddate, format = yyyy-mm-dd |
string | $endtime | The endtime, format = h:m |
string | $description | The description of the event |
string | $reminder | The reminder in minutes, that the user will get, format = '60', means 60 minutes in before event starts |
string | $reminder_text | The info, the remider should diplay, for example 'Erinnerung' |
string | $filename | The complete path and filename of the file |
Definition at line 58 of file function.create_iCal_file.php.
$level = 1 |
Definition at line 26 of file function.create_iCal_file.php.
$root = $oneback |
Definition at line 25 of file function.create_iCal_file.php.
while(($level< 10) &&(!file_exists($root.SEC_FILE))) if (file_exists( $root.SEC_FILE)) else |
This file is part of LEPTON Core, released under the GNU GPL Please see LICENSE and COPYING files in your package for details, specially for terms and warranties.
NOTICE:LEPTON CMS Package has several different licenses. Please see the individual license in the header of each single file or info.php of modules and templates.
Definition at line 23 of file function.create_iCal_file.php.