W3cubDocs

/Phalcon 2

Class Phalcon\Assets\Resource\Css

extends class Phalcon\Assets\Resource

Represents CSS resources

Methods

public __construct (string $path, [boolean $local], [boolean $filter], [array $attributes])

public Phalcon\Assets\Resource setType (string $type) inherited from Phalcon\Assets\Resource

Sets the resource’s type

public string getType () inherited from Phalcon\Assets\Resource

Returns the type of resource

public Phalcon\Assets\Resource setPath (string $path) inherited from Phalcon\Assets\Resource

Sets the resource’s path

public string getPath () inherited from Phalcon\Assets\Resource

Returns the URI/URL path to the resource

public Phalcon\Assets\Resource setLocal (boolean $local) inherited from Phalcon\Assets\Resource

Sets if the resource is local or external

public boolean getLocal () inherited from Phalcon\Assets\Resource

Returns whether the resource is local or external

public Phalcon\Assets\Resource setFilter (boolean $filter) inherited from Phalcon\Assets\Resource

Sets if the resource must be filtered or not

public boolean getFilter () inherited from Phalcon\Assets\Resource

Returns whether the resource must be filtered or not

public Phalcon\Assets\Resource setAttributes (array $attributes) inherited from Phalcon\Assets\Resource

Sets extra HTML attributes

public array getAttributes () inherited from Phalcon\Assets\Resource

Returns extra HTML attributes set in the resource

public Phalcon\Assets\Resource setTargetUri (string $targetUri) inherited from Phalcon\Assets\Resource

Sets a target uri for the generated HTML

public string getTargetUri () inherited from Phalcon\Assets\Resource

Returns the target uri for the generated HTML

public Phalcon\Assets\Resource setSourcePath (string $sourcePath) inherited from Phalcon\Assets\Resource

Sets the resource’s source path

public string getSourcePath () inherited from Phalcon\Assets\Resource

Returns the resource’s target path

public Phalcon\Assets\Resource setTargetPath (string $targetPath) inherited from Phalcon\Assets\Resource

Sets the resource’s target path

public string getTargetPath () inherited from Phalcon\Assets\Resource

Returns the resource’s target path

public string getContent ([string $basePath]) inherited from Phalcon\Assets\Resource

Returns the content of the resource as an string Optionally a base path where the resource is located can be set

public string getRealTargetUri () inherited from Phalcon\Assets\Resource

Returns the real target uri for the generated HTML

public string getRealSourcePath ([string $basePath]) inherited from Phalcon\Assets\Resource

Returns the complete location where the resource is located

public string getRealTargetPath ([string $basePath]) inherited from Phalcon\Assets\Resource

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_Css.html