Class MGoogleCalendarDatastore
Defines and provides basic functionality for caching a datastore.
Basically the cached datastore is a combination between a efficient
datastore which can be used as cache and an slower datastore
(e.g. a directory datastore or a remote datastore).
Actually cache is invalidated after one day.
- webfilesframework\core\datasystem\file\format\MWebfile
- webfilesframework\core\datastore\MAbstractDatastore
- webfilesframework\core\datastore\MAbstractCachableDatastore
- webfilesframework\core\datastore\types\googlecalendar\MGoogleCalendarDatastore implements webfilesframework\core\datastore\MISingleDatasourceDatastore
Namespace: webfilesframework\core\datastore\types\googlecalendar
Author: Sebastian Monzel < mail@sebastianmonzel.de >
Since: 0.1.7
Located at core/datastore/types/googlecalendar/MGoogleCalendarDatastore.php
Author: Sebastian Monzel < mail@sebastianmonzel.de >
Since: 0.1.7
Located at core/datastore/types/googlecalendar/MGoogleCalendarDatastore.php
public
|
#
__construct( $calendarId, $authConfigAsJsonString, $redirectUrl,
|
public
|
|
public
boolean
|
|
public
|
|
public
|
|
public
Google_Client
|
|
public
|
|
public
|
|
public
|
#
storeWebfile(
Stores a single webfile in the datastore. |
public
array
|
|
public
array
|
#
getLatestWebfiles( integer $count = 5 )
Returns the latests webfiles. Sorting will happen according to the time information of the webfiles. |
public
array
|
#
searchByTemplate(
Returns a set of webfiles in the actual datastore which matches
with the given template.
|
fillCachingDatastore(),
getLatestCachingTime(),
isCacheActual(),
isDatastoreCached(),
setCachingDatastore()
|
ONE_DAY_IN_SECONDS
|
$cachingDatastore,
$latestCachingTime
|
$m_iId,
$m_iTime
|