[ Index ]

PHP Cross Reference of DokuWiki

title

Body

[close]

/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):
  getFunctions()
  convert()
  dataUri()
  unit()


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

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

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

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