TwistPHP Documentation

loadFile

File path: dist/twist/Core/Utilities/ICS.utility.php
Namespace: Twist\Core\Utilities
Extends: Base

loadFileLoad in an existing ICS file in to be converted into an usable ICS Event/Calendar object

Parameters

Name Type Description
$dirICSFilestringn/a

Return Values

void — No return information has been documented for this function.

Example

<?php
//Set the variables for the example
$dirICSFile '/home/user/public_html/twist';

//Call the function loadFile with the example vars
Twist::ICS() -> loadFile($dirICSFile);