MetaFox

AssetRepositoryInterface
in

Interface Asset.

Tags
mixin

BaseRepository

Table of Contents

Methods

findByName()  : Asset|null
findAssetByName.
getDefaultAssetFile()  : StorageFile|null
loadAssetSettings()  : array<string|int, string>
loadAssetSettings.
publishAssets()  : void
publishAssets.
restoreDefaultAsset()  : Asset

Methods

loadAssetSettings()

loadAssetSettings.

public loadAssetSettings() : array<string|int, string>
Return values
array<string|int, string>

publishAssets()

publishAssets.

public publishAssets(string $package) : void
Parameters
$package : string

restoreDefaultAsset()

public restoreDefaultAsset(int $id[, array<string, mixed> $attributes = [] ]) : Asset
Parameters
$id : int
$attributes : array<string, mixed> = []
Return values
Asset

        
On this page

Search results