AssetCollectionInterface
in
Interface AssetCollectionInterface
Tags
Table of Contents
- add() : mixed
- Adds a new asset to the collection.
- getHtml() : string
- Prints the HTML markup for the assets.
Methods
add()
Adds a new asset to the collection.
public
add(AssetInterface $asset) : mixed
Parameters
- $asset : AssetInterface
Return values
mixed —getHtml()
Prints the HTML markup for the assets.
public
getHtml([StringType $type = null ]) : string
Parameters
- $type : StringType = null
Return values
string —Returns the HTML markup of the assets.