PHP Interface Sulu\Component\Media\SystemCollections\SystemCollectionManagerInterface

Mostra file Open project: sulu/sulu Interface Usage Examples

Public Methods

Method Description
getSystemCollection ( string $key ) : integer Returns id of system collection with given key.
isSystemCollection ( integer $id ) Returns true if given id is registered as system collection.
warmUp ( ) Builds cache for system collections.

Method Details

getSystemCollection() public method

Returns id of system collection with given key.
public getSystemCollection ( string $key ) : integer
$key string
return integer id of system collection

isSystemCollection() public method

Returns true if given id is registered as system collection.
public isSystemCollection ( integer $id )
$id integer

warmUp() public method

Builds cache for system collections.
public warmUp ( )