Overview
  • Package
  • Class
  • Tree
  • Todo

Packages

  • AddonValue
    • Interfaces
  • ApiV2Controllers
  • Category
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Providers
    • Repositories
    • Storages
  • Customer
    • Address
    • Country
    • CountryZone
    • Interfaces
    • Validation
    • ValueObjects
  • Email
    • Collections
    • Entities
    • Exceptions
    • Interfaces
    • Repository
    • ValueObjects
  • Http
    • Collections
    • Exceptions
    • Factories
    • Interfaces
    • ValueObjects
  • Loaders
    • CrossCuttingLoader
    • GXCoreLoader
    • Interfaces
  • None
  • Order
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Repositories
    • Storages
    • ValueObjects
  • Product
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Providers
    • Repositories
    • Storages
  • ProductModule
    • Collections
    • Deleter
    • Entities
    • Factories
    • Interface
    • Interfaces
    • Reader
    • Repositories
    • Writer
  • Shared
    • Exceptions
    • FileSystem
    • Interfaces
    • Storage
    • Types
  • Statistics
    • Interfaces
  • UserConfiguration
    • Interfaces
    • Repository

Classes

  • AssetCollection

Class AssetCollection

Class AssetCollection

Handles Asset objects (JavaScript and CSS). Use the getHtml() method to get the HTML output for the collection. The elements will be outputted in the same order they were added in the collection.

AbstractCollection implements IteratorAggregate, Countable
Extended by AssetCollection implements AssetCollectionInterface
Package: Http\Collections
Category: System
Located at SystemServices/Http/Collections/AssetCollection.inc.php

Methods summary

public
# add( AssetInterface $asset )

Adds a new asset to the collection.

Adds a new asset to the collection.

Parameters

$asset

Implementation of

AssetCollectionInterface::add()
public string
# getHtml( )

Prints the HTML markup for the assets.

Prints the HTML markup for the assets.

Returns

string
Returns the HTML markup of the assets.

Implementation of

AssetCollectionInterface::getHtml()
protected string
# _getValidType( )

Returns the type of the collection items.

Returns the type of the collection items.

Returns

string

Methods inherited from AbstractCollection

__construct(), _add(), _getExceptionText(), _itemIsValid(), count(), getArray(), getItem(), getIterator(), isEmpty()

Properties summary

Properties inherited from AbstractCollection

$collectionContentArray

API documentation generated by ApiGen