Class MRemoteDatastore
Encapsulates the access to a datastore with help of the content information service.
- webfilesframework\core\datasystem\file\format\MWebfile
- webfilesframework\core\datastore\MAbstractDatastore
- webfilesframework\core\datastore\types\remote\MRemoteDatastore
Author: Sebastian Monzel < mail@sebastianmonzel.de >
Since: 0.1.7
Located at core/datastore/types/remote/MRemoteDatastore.php
public
|
|
public
|
|
public
boolean
|
|
public
|
#
getWebfilesAsStream( $data = null )
Returns a webfiles stream with all webfiles from the actual datastore. |
public
array
|
|
public
array
|
#
searchByTemplate(
Returns a set of webfiles in the actual datastore which matches
with the given template.
|
public
array
|
#
getLatestWebfiles( integer $count = 5 )
Returns the latests webfiles. Sorting will happen according to the time information of the webfiles. |
public
|
#
getNextWebfileForTimestamp( $timestamp )
Some datastore cannot be sorted by time due to performance issues. In this time cache can solve the problem. For letting the developer decide if implementing sorting by timestamp this function sets the sorting to true or false. |
public
|
#
storeWebfile(
Stores a single webfile in the datastore. |
public
|
#
deleteByTemplate(
Deletes a set of webfiles in the actual datastore which can be applied to the given template. |
$m_iId,
$m_iTime
|