Textpattern | PHP Cross Reference | Content Management Systems |
Description: (no description)
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
Registry:: (9 methods):
__construct()
getMap()
filter()
getHelp()
offsetSet()
offsetGet()
offsetExists()
offsetUnset()
getIterator()
A registry of Textfilters interfaces those to the core.
__construct() line: 51 |
Constructor. Creates core Textfilters according to a preference and registers all available filters with the core. This method triggers 'textfilter.register' callback event. |
getMap() line: 77 |
Gets an array map of filter keys vs. titles. return: array Map of 'key' => 'title' for all Textfilters |
filter($key, $thing, $context) line: 96 |
Filter raw input text by calling one of our known Textfilters by its key. Invokes the 'textfilter.filter' pre- and post-callbacks. return: string Filtered output text param: string $key The Textfilter's key param: string $thing Raw input text param: array $context Filter context ('options' => array, 'field' => string, 'data' => mixed) |
getHelp($key) line: 125 |
Get help text for a certain Textfilter. return: string HTML for human-readable help param: string $key The Textfilter's key |
offsetSet($key, $filter) line: 141 |
ArrayAccess interface to our set of filters. param: string $key param: string $filter |
offsetGet($key) line: 158 |
Returns the value at specified offset. return: string The value param: string $key |
offsetExists($key) line: 175 |
Whether an offset exists. return: bool param: string $key |
offsetUnset($key) line: 188 |
Offset to unset. param: string $key |
getIterator() line: 200 |
IteratorAggregate interface. return: ArrayIterator |
title