[ Index ]

PHP Cross Reference of DokuWiki




/vendor/splitbrain/lesserphp/src/Functions/ -> Misc.php (summary)

(no description)

File Size: 115 lines (4 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

Misc:: (4 methods):

Class: Misc  - X-Ref

Implements the  miscellaneous functions for LESS

getFunctions()   X-Ref
No description

convert(array $args)   X-Ref
Convert a number from one unit into another

link: https://lesscss.org/functions/#misc-functions-convert

dataUri(array $value)   X-Ref
Given an url, decide whether to output a regular link or the base64-encoded contents of the file

param: array $value either an argument list (two strings) or a single string
return: string        formatted url(), either as a link or base64-encoded

unit(array $arg)   X-Ref
Remove or change the unit of a dimension

link: https://lesscss.org/functions/#misc-functions-unit