[ Index ]

PHP Cross Reference of DokuWiki




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

(no description)

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

Defines 1 class

Strings:: (3 methods):

Class: Strings  - X-Ref

Implements the string functions for LESS

getFunctions()   X-Ref
No description

e(array $arg)   X-Ref
String escaping.

It expects string as a parameter and return its content as is, but without quotes. It can be used
to output CSS value which is either not valid CSS syntax, or uses proprietary syntax which
Less doesn't recognize.

link: https://lesscss.org/functions/#string-functions-e

format(array $args)   X-Ref
Formats a string

link: https://lesscss.org/functions/#string-functions--format