[ Index ]

PHP Cross Reference of phpBB-3.3.7-deutsch




/vendor/s9e/text-formatter/src/Configurator/ -> JavaScript.php (summary)

(no description)

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

Defines 1 class

JavaScript:: (14 methods):

Class: JavaScript  - X-Ref

__construct(Configurator $configurator)   X-Ref

param: Configurator $configurator Configurator

getMinifier()   X-Ref
Return the cached instance of Minifier (creates one if necessary)

return: Minifier

getParser(array $config = null)   X-Ref
Get a JavaScript parser

param: array  $config Config array returned by the configurator
return: string         JavaScript parser

setMinifier($minifier)   X-Ref
Set the cached instance of Minifier

Extra arguments will be passed to the minifier's constructor

param: string|Minifier $minifier Name of a supported minifier, or an instance of Minifier
return: Minifier                  The new minifier

encode($value)   X-Ref
Encode a PHP value into an equivalent JavaScript representation

param: mixed  $value Original value
return: string        JavaScript representation

getExports()   X-Ref
Generate and return the public API

return: string JavaScript Code

getHints()   X-Ref
Generate a HINT object that contains informations about the configuration

return: string JavaScript Code

getPluginsConfig()   X-Ref
Return the plugins' config

return: Dictionary

getRegisteredVarsConfig()   X-Ref

getRootContext()   X-Ref
Return the root context config

return: array

getSource()   X-Ref
Return the parser's source

return: string

getStylesheet()   X-Ref
Return the JavaScript representation of the stylesheet

return: string

getTagsConfig()   X-Ref
Return the tags' config

return: Dictionary

injectConfig($src)   X-Ref
Inject the parser config into given source

param: string $src Parser's source
return: string      Modified source

Generated: Thu Mar 24 21:31:15 2022 Cross-referenced by PHPXref 0.7.1