Represents an asset resource
$resource = new Phalcon\Assets\Resource('js', 'javascripts/jquery.js');
Phalcon\Assets\Resource constructor
Sets the resource’s type
Returns the type of resource
Sets the resource’s path
Returns the URI/URL path to the resource
Sets if the resource is local or external
Returns whether the resource is local or external
Sets if the resource must be filtered or not
Returns whether the resource must be filtered or not
Sets extra HTML attributes
Returns extra HTML attributes set in the resource
Sets a target uri for the generated HTML
Returns the target uri for the generated HTML
Sets the resource’s source path
Returns the resource’s target path
Sets the resource’s target path
Returns the resource’s target path
Returns the content of the resource as an string Optionally a base path where the resource is located can be set
Returns the real target uri for the generated HTML
Returns the complete location where the resource is located
Returns the complete location where the resource must be written
© 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_Resource.html