[ Index ]

PHP Cross Reference of phpBB-3.3.14-deutsch

title

Body

[close]

/vendor/s9e/text-formatter/src/Configurator/ -> RulesGenerator.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: 193 lines (7 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

RulesGenerator:: (6 methods):
  __construct()
  getRules()
  generateTagRules()
  generateRootRules()
  generateRuleset()
  getTagInspectors()


Class: RulesGenerator  - X-Ref


__construct()   X-Ref
Constructor

Will load the default rule generators

getRules(TagCollection $tags)   X-Ref
Generate rules for given tag collection

param: TagCollection $tags Tags collection
return: array

generateTagRules(array $tagInspectors)   X-Ref
Generate and return rules based on a set of TemplateInspector

param: array $tagInspectors Array of [tagName => TemplateInspector]
return: array                Array of [tagName => [<rules>]]

generateRootRules(array $tagInspectors)   X-Ref
Generate a set of rules to be applied at the root of a document

param: array $tagInspectors Array of [tagName => TemplateInspector]
return: array

generateRuleset(TemplateInspector $srcInspector, array $trgInspectors)   X-Ref
Generate a set of rules for a single TemplateInspector instance

param: TemplateInspector $srcInspector  Source of the rules
param: array             $trgInspectors Array of [tagName => TemplateInspector]
return: array

getTagInspectors(TagCollection $tags)   X-Ref
Inspect given list of tags

param: TagCollection $tags Tags collection
return: array               Array of [tagName => TemplateInspector]



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