TwistPHP Documentation

refreshInterval

File path: dist/twist/Core/Models/ICS/Calendar.model.php
Namespace: Twist\Core\Models\ICS
Extends:

refreshIntervalSet the refresh interval for the feed (Experimental, may ot work)
Options: PT5M, PT15M, PT1H, PT12H, PT1D, PT1W

Parameters

Name Type Description
[$strInterval = 'PT1D']stringn/a

Return Values

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

Example

<?php
//Set the variables for the example
$strInterval 'PT1D';

//Call the function refreshInterval with the example vars
$resCalendar = new \Twist\Core\Models\ICS\Calendar();
$resCalendar -> refreshInterval($strInterval);