[ Index ]

PHP Cross Reference of phpBB-3.3.11-deutsch




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

(no description)

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

Defines 1 class

JavaScript:: (15 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

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

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

Extra arguments will be passed to the minifier's constructor

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

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

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

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

return: string JavaScript Code

getFunctionCache()   X-Ref

return: string Function cache serialized as a JavaScript object

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

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

Generated: Sat Nov 4 14:26:03 2023 Cross-referenced by PHPXref 0.7.1