\FAA\InterfacesObjectCache

Summary

Methods
Properties
Constants
FetchTranslation()
StoreTranslation()
DropTranslation()
FetchObject()
DeleteObjectList()
AddObjectList()
StoreObject()
DeleteObject()
FetchNotificationList()
StoreNotificationList()
FetchObjectList()
StoreObjectList()
FetchObjectType()
StoreObjectType()
DeleteObjectTypeList()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

FetchTranslation()

FetchTranslation(string  $id,string  $language): \FAA\Obj\Result

Get a translation Get a single translation entry from cache

Parameters

string $id

The id of the translation

string $language

The language name

Returns

\FAA\Obj\Result —

A system result object

StoreTranslation()

StoreTranslation(string  $id,string  $language,string  $value): \FAA\Obj\Result

Store a translation Save a single translation entry to cache

Parameters

string $id

The id of the translation

string $language

The language name

string $value

The translation value

Returns

\FAA\Obj\Result —

A system result object

DropTranslation()

DropTranslation(string  $id,string  $language): \FAA\Obj\Result

Drop a translation Removes a single translation entry from cache

Parameters

string $id

The id of the translation

string $language

The language name

Returns

\FAA\Obj\Result —

A system result object

FetchObject()

FetchObject(string  $type,string|integer  $id,string  $language = null,string  $suffix = null,boolean  $honor_ttl = false): \FAA\Obj\Result

Load a single object from cache

Parameters

string $type

The content type

string|integer $id

The primary key

string $language

Additional language suffix

string $suffix

Additional extra suffix

boolean $honor_ttl

Load with ttl

Returns

\FAA\Obj\Result

DeleteObjectList()

DeleteObjectList(  $type,  $id)

Parameters

$type
$id

AddObjectList()

AddObjectList(  $type,  $id)

Parameters

$type
$id

StoreObject()

StoreObject(  $type,  $id,  $data,  $language = null,  $suffix = false,  $ttl = -1)

Parameters

$type
$id
$data
$language
$suffix
$ttl

DeleteObject()

DeleteObject(  $type,  $id,  $is_remove = false)

Parameters

$type
$id
$is_remove

FetchNotificationList()

FetchNotificationList(  $language)

Parameters

$language

StoreNotificationList()

StoreNotificationList(  $language,  $data)

Parameters

$language
$data

FetchObjectList()

FetchObjectList(  $type)

Parameters

$type

StoreObjectList()

StoreObjectList(  $type,  $data)

Parameters

$type
$data

FetchObjectType()

FetchObjectType(  $type,  $language = null,  $parent_resolve = false,  $skipattributes = false,  $skiphook = false)

Parameters

$type
$language
$parent_resolve
$skipattributes
$skiphook

StoreObjectType()

StoreObjectType(  $type,  $data,  $language = null,  $parent_resolve = false,  $skipattributes = false,  $skiphook = false)

Parameters

$type
$data
$language
$parent_resolve
$skipattributes
$skiphook

DeleteObjectTypeList()

DeleteObjectTypeList(  $type)

Parameters

$type