[ Index ]

PHP Cross Reference of phpBB-3.3.3-deutsch

title

Body

[close]

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

(no description)

Copyright: Copyright (c) 2010-2020 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

return: mixed
param: string $k Property name

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

return: bool
param: string $k Property name

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

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

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

return: mixed
param: string $k Property name

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

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

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

return: bool              Whether the write succeeded
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

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: Sun Feb 14 20:08:31 2021 Cross-referenced by PHPXref 0.7.1