ResponseAssetGroup
class ResponseAssetGroup (View source)
Properties
static protected | $group | ||
protected | $providedAssetGroupUnmatched | ||
protected | $outputAssets |
Methods
No description
No description
No description
Assets.
Function responsible for adding footer items within the context of a view.
No description
Responsible for a number of things.
Notes in the current request that a particular asset has already been provided.
Adds a required asset to this request. This asset will attempt to be output or included when a view is rendered.
Returns all required assets.
No description
Returns only assets that are required but that aren't also in the providedAssetGroup.
Details
static
get()
No description
__construct()
No description
init()
No description
addHeaderAsset($item)
Assets.
addFooterAsset($item)
Function responsible for adding footer items within the context of a view.
addOutputAsset(Asset $asset)
No description
protected
addOutputAssetAt($item, $position)
No description
getAssetsToOutput()
Responsible for a number of things.
- Gets the required assets and adds them to the output assets array (which also contains other assets we have specifically asked for.)
- Returns the assets with the non-post-process-able assets FIRST, in the order in which they were added, with post-processable assets grouped after. We also make sure to maintain the proper position.
markAssetAsIncluded($assetType, $assetHandle = false)
Notes in the current request that a particular asset has already been provided.
requireAsset($assetType, $assetHandle = false)
Adds a required asset to this request. This asset will attempt to be output or included when a view is rendered.
getRequiredAssets()
Returns all required assets.
protected
filterProvidedAssets($asset)
No description
getRequiredAssetsToOutput()
Returns only assets that are required but that aren't also in the providedAssetGroup.