UserFrosting API

AssetBundlesInterface

Represents a collection of asset bundles.

Tags
author

Alex Weissman (https://alexanderweissman.com)

author

Jordan Mele

Table of Contents

getCssBundleAssets() Gets assets in specified CSS bundle. string[]
getJsBundleAssets() Gets assets in specified JS bundle. string[]

Methods

getCssBundleAssets()

Gets assets in specified CSS bundle.

public getCssBundleAssets( [ $bundleName : string = '' ] ) : string[]
Parameters
$bundleName : string = ''

Name of bundle.

Tags
throws
OutOfRangeException

if requested bundle does not exist.

Return values
string[]

getJsBundleAssets()

Gets assets in specified JS bundle.

public getJsBundleAssets( [ $bundleName : string = '' ] ) : string[]
Parameters
$bundleName : string = ''

Name of bundle.

Tags
throws
OutOfRangeException

if requested bundle does not exist.

Return values
string[]

Search results