\MatthiasWeb\RealMediaLibrary\metadataCommonFolderTrait

Trait common folder meta helper methods.

Summary

Methods
Properties
Constants
No public methods found
No public properties found
No constants found
is()
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

is()

is(string  $meta,\MatthiasWeb\RealMediaLibrary\api\IFolder  $folder,boolean  $persist = null): boolean

Gets (and persists) a checkbox to the folder metadata.

Parameters

string $meta

The meta key

\MatthiasWeb\RealMediaLibrary\api\IFolder $folder

The folder

boolean $persist

If set it will be updated or deleted

Returns

boolean