[ Index ]

PHP Cross Reference of phpBB-3.3.14-deutsch

title

Body

[close]

/vendor/s9e/text-formatter/src/Plugins/BBCodes/ -> 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: 190 lines (6 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

Configurator:: (5 methods):
  setUp()
  addCustom()
  addFromRepository()
  addFromConfig()
  asConfig()


Class: Configurator  - X-Ref


setUp()   X-Ref
Plugin setup

return: void

addCustom($usage, $template, array $options = [])   X-Ref
Add a BBCode using their human-readable representation

param: string $usage    BBCode's usage
param: string|\s9e\TextFormatter\Configurator\Items\Template $template BBCode's template
param: array  $options  Supported: 'tagName' and 'rules'
return: BBCode           Newly-created BBCode

addFromRepository($name, $repository = 'default', array $vars = [])   X-Ref
Add a BBCode from a repository

param: string $name       Name of the entry in the repository
param: mixed  $repository Name of the repository to use as source, or instance of Repository
param: array  $vars       Variables that will replace default values in the tag definition
return: BBCode             Newly-created BBCode

addFromConfig(array $config)   X-Ref
Add a BBCode and its tag based on the return config from BBCodeMonkey

param: array  $config BBCodeMonkey::create()'s return array
return: BBCode

asConfig()   X-Ref
{@inheritdoc}




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