Assets\Collection::current

public current () Returns the current resource in the iterator

Assets\Collection::count

public count () Returns the number of elements in the form

Assets\Collection::addJs

public Phalcon\Assets\Collection addJs (string $path, [boolean $local], [boolean $filter], [array $attributes]) Adds a javascript resource to the collection

Assets\Collection::addInlineJs

public addInlineJs (mixed $content, [mixed $filter], [mixed $attributes]) Adds an inline javascript to the collection

Assets\Collection::addInlineCss

public addInlineCss (mixed $content, [mixed $filter], [mixed $attributes]) Adds an inline CSS to the collection

Assets\Collection::addInline

public addInline (Phalcon\Assets\Inline $code) Adds an inline code to the collection

Assets\Collection::addFilter

public addFilter (Phalcon\Assets\FilterInterface $filter) Adds a filter to the collection

Assets\Collection::addCss

public addCss (mixed $path, [mixed $local], [mixed $filter], [mixed $attributes]) Adds a CSS resource to the collection

Assets\Collection::add

public add (Phalcon\Assets\Resource $resource) Adds a resource to the collection

Assets\Collection

implements Countable, Iterator, Traversable Source on GitHub Represents a collection of resources Methods public getPrefix () ... public getLocal () ... public getResources () ... public getCodes () ... public getPosition () ... public getFilters () ... public getAttributes () ... public getJoin () ... public getTargetUri () ... public getTargetPath () ... public getTargetLocal () ... public getSourcePath () ... public add (Phalcon\Assets\Resource $resource) Adds a resource to the collection pu