[ Index ]

PHP Cross Reference of phpBB-3.3.14-deutsch

title

Body

[close]

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

(no description)

Copyright: Copyright (c) 2010-2022 The s9e authors
License: http://www.opensource.org/licenses/mit-license.php The MIT License
File Size: 369 lines (10 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

Configurator:: (11 methods):
  __construct()
  __get()
  __isset()
  __set()
  __unset()
  enableJavaScript()
  finalize()
  loadBundle()
  saveBundle()
  asConfig()
  addTagRules()


Class: Configurator  - X-Ref


__construct()   X-Ref
Constructor

Prepares the collections that hold tags and filters, the UrlConfig object as well as the
various helpers required to generate a full config.

__get($k)   X-Ref
Magic __get automatically loads plugins, returns registered vars

param: string $k Property name
return: mixed

__isset($k)   X-Ref
Magic __isset checks existence in the plugins collection and registered vars

param: string $k Property name
return: bool

__set($k, $v)   X-Ref
Magic __set adds to the plugins collection, registers vars

param: string $k Property name
param: mixed  $v Property value
return: mixed

__unset($k)   X-Ref
Magic __set removes plugins from the plugins collection, unregisters vars

param: string $k Property name
return: mixed

enableJavaScript()   X-Ref
Enable the creation of a JavaScript parser

return: void

finalize()   X-Ref
Finalize this configuration and return all the relevant objects

return: array One "parser" element and one "renderer" element unless specified otherwise

loadBundle($bundleName)   X-Ref
Load a bundle into this configuration

param: string $bundleName Name of the bundle
return: void

saveBundle($className, $filepath, array $options = [])   X-Ref
Create and save a bundle based on this configuration

param: string $className Name of the bundle class
param: string $filepath  Path where to save the bundle file
param: array  $options   Options passed to the bundle generator
return: bool              Whether the write succeeded

asConfig()   X-Ref
Generate and return the complete config array

return: array

addTagRules()   X-Ref
Add the rules generated by $this->rulesGenerator

return: void



Generated: Mon Nov 25 19:05:08 2024 Cross-referenced by PHPXref 0.7.1