implements Countable, Iterator, Traversable
Represents a collection of resources
Adds a resource to the collection
Adds a CSS resource to the collection
Adds a javascript resource to the collection
Returns the resources as an array
Returns the number of elements in the form
Rewinds the internal iterator
Returns the current resource in the iterator
Returns the current position/key in the iterator
Moves the internal iteration pointer to the next position
Check if the current element in the iterator is valid
Sets the target path of the file for the filtered/join output
Returns the target path of the file for the filtered/join output
Sets a base source path for all the resources in this collection
Returns the base source path for all the resources in this collection
Sets a target uri for the generated HTML
Returns the target uri for the generated HTML
Sets a common prefix for all the resources
Returns the prefix
Sets if the collection uses local resources by default
Returns if the collection uses local resources by default
Sets extra HTML attributes
Returns extra HTML attributes
Adds a filter to the collection
Sets an array of filters in the collection
Returns the filters set in the collection
Sets if all filtered resources in the collection must be joined in a single result file
Returns if all the filtered resources must be joined
Returns the complete location where the joined/filtered collection must be written
Sets the target local
Returns the target local
© 2011–2016 Phalcon Framework Team
Licensed under the Creative Commons Attribution License 3.0.
https://docs.phalconphp.com/en/2.0.0/api/Phalcon_Assets_Collection.html