Class Asset
category |
System |
---|---|
package |
Http |
subpackage |
ValueObjects |
__construct(string $path)
Throws |
|
---|
string
Relative path to the asset file (relative to the "src" directory). Provide only the filename for translations (no path is required - e.g. general.lang.inc.php).
__toString() : string
string
Returns the HTML markup that will load the file when the page is loaded.
getPath() : string
string
getType() : string
string
JAVASCRIPT
CSS
TRANSLATION
path : string
var |
Asset's relative path. |
---|
string
type : string
var |
Asset's type (defined by the file extension). |
---|
string