class AssetConditionGenerator extends ConditionGenerator (View source)

A SQL condition generator, supporting special SQL constraints for assets

Properties

protected string $entityType

Methods

bool
isType(string $entityType)

No description

PropertyConditionGenerator
titleStartsWith(string $term)

No description

PropertyConditionGenerator
titleEndsWith(string $term)

No description

PropertyConditionGenerator
titleContains(string $term)

No description

PropertyConditionGenerator
hasMediaType(string $mediaType)

No description

isTagged(string $tagLabel)

No description

isInCollection(string $collectionTitle)

No description

Details

bool isType(string $entityType)

No description

Parameters

string $entityType

Return Value

bool

Exceptions

InvalidPrivilegeException

PropertyConditionGenerator titleStartsWith(string $term)

No description

Parameters

string $term

Return Value

PropertyConditionGenerator

PropertyConditionGenerator titleEndsWith(string $term)

No description

Parameters

string $term

Return Value

PropertyConditionGenerator

PropertyConditionGenerator titleContains(string $term)

No description

Parameters

string $term

Return Value

PropertyConditionGenerator

PropertyConditionGenerator hasMediaType(string $mediaType)

No description

Parameters

string $mediaType

Return Value

PropertyConditionGenerator

AssetTagConditionGenerator isTagged(string $tagLabel)

No description

Parameters

string $tagLabel

Return Value

AssetTagConditionGenerator

AssetAssetCollectionConditionGenerator isInCollection(string $collectionTitle)

No description

Parameters

string $collectionTitle

Return Value

AssetAssetCollectionConditionGenerator