[ Index ] |
PHP Cross Reference of phpBB-3.3.14-deutsch |
[Source view] [Print] [Project Stats]
(no description)
File Size: | 165 lines (4 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
Repository:: (6 methods):
__construct()
get()
addRules()
createRepositoryException()
loadRepository()
replaceVars()
Class: Repository - X-Ref
__construct($value, BBCodeMonkey $bbcodeMonkey) X-Ref |
Constructor param: mixed $value Either a DOMDocument or the path to a repository's XML file param: BBCodeMonkey $bbcodeMonkey Instance of BBCodeMonkey used to parse definitions |
get($name, array $vars = []) X-Ref |
Get a BBCode and its associated tag from this repository param: string $name Name of the entry in the repository param: array $vars Replacement variables return: array Array with three elements: "bbcode", "name" and "tag" |
addRules(DOMElement $node, Tag $tag) X-Ref |
Add rules to given tag based on given definition param: DOMElement $node param: Tag $tag return: void |
createRepositoryException($filepath) X-Ref |
Create an exception for a bad repository file path param: string $filepath return: InvalidArgumentException |
loadRepository($filepath) X-Ref |
Load a repository file into a DOMDocument param: string $filepath return: DOMDocument |
replaceVars(DOMElement $node, array $vars) X-Ref |
Replace var elements in given definition param: DOMElement $node param: array $vars return: void |
Generated: Mon Nov 25 19:05:08 2024 | Cross-referenced by PHPXref 0.7.1 |