public addLess ( string $uri, string $cssUri, string $version = null, string $type = 'text/css', string $media = null, array $attribs = [] ) | ||
$uri | string | A path definition understood by parsePath pointing to the source LESS file, e.g. media://com_example/less/foo.less |
$cssUri | string | A path definition understood by parsePath pointing to a precompiled CSS file, used when we can't write the generated file to the output directory, e.g. media://com_example/css/foo.css |
$version | string | (optional) Version string to be added to the URL |
$type | string | MIME type of the stylesheeet |
$media | string | Media target definition of the style sheet, e.g. "screen" |
$attribs | array | Array of attributes |