Class: RendererPlugin
Source Location: /blogs/plugins/renderer.class.php
Class RendererPlugin
Class Overview
|
RendererPlugin Class Located in /blogs/plugins/renderer.class.php [line 26] Plugin | --RendererPluginAuthor(s):
|
[ Top ]
Direct descendents
Inherited Properties, Constants, and Methods
| Inherited Properties | Inherited Methods | Inherited Constants |
|---|---|---|
|
Inherited From Plugin |
Inherited From Plugin
|
[ Top ]
Property Summary
| mixed | $apply_to_html | Should this plugin apply to HTML? |
| mixed | $apply_to_xml | Should this plugin apply to XML? |
| mixed | $apply_when | When should this plugin apply? |
[ Top ]
Properties
mixed
$apply_to_html
= true [line 42]
Should this plugin apply to HTML?
Redefined in descendants as:
- smilies_Rendererplugin::$apply_to_html
- wikilinks_Rendererplugin::$apply_to_html
- auto_p_Rendererplugin::$apply_to_html
- textile_Rendererplugin::$apply_to_html
- texturize_Rendererplugin::$apply_to_html
- gmcode_Rendererplugin::$apply_to_html
- autolinks_Rendererplugin::$apply_to_html
- bbcode_Rendererplugin::$apply_to_html
- wacko_Rendererplugin::$apply_to_html
[ Top ]
mixed
$apply_to_xml
= false [line 50]
Should this plugin apply to XML?
It should actually only apply when:
- it generates some content that is visible without HTML tags
- it removes some dirty markup when generating the tags (which will get stripped afterwards)
Redefined in descendants as:
- smilies_Rendererplugin::$apply_to_xml
- wikilinks_Rendererplugin::$apply_to_xml
- auto_p_Rendererplugin::$apply_to_xml
- textile_Rendererplugin::$apply_to_xml
- texturize_Rendererplugin::$apply_to_xml
- gmcode_Rendererplugin::$apply_to_xml
- autolinks_Rendererplugin::$apply_to_xml
- bbcode_Rendererplugin::$apply_to_xml
- wacko_Rendererplugin::$apply_to_xml
[ Top ]
mixed
$apply_when
= 'opt-out' [line 38]
When should this plugin apply?
Possible values:
- 'stealth'
- 'always'
- 'opt-out'
- 'opt-in'
- 'lazy'
- 'never'
Redefined in descendants as:
- smilies_Rendererplugin::$apply_when
- wikilinks_Rendererplugin::$apply_when
- auto_p_Rendererplugin::$apply_when
- textile_Rendererplugin::$apply_when
- texturize_Rendererplugin::$apply_when
- gmcode_Rendererplugin::$apply_when
- autolinks_Rendererplugin::$apply_when
- bbcode_Rendererplugin::$apply_when
- wacko_Rendererplugin::$apply_when
[ Top ]
Methods
render [line 64]
|
Perform rendering
Well, this one does nothing but checking if Rendering applies to the output format. You need to derive this function.
Parameters:| string | &$content: | content to render (by reference) / rendered content |
| string | $format: | Output format, see format_to_output() |
API Tags:
| Return: | true if we can render something for the required output format |
Redefined in descendants as:
- smilies_Rendererplugin::render() : Perform rendering
- wikilinks_Rendererplugin::render() : Perform rendering
- auto_p_Rendererplugin::render() : Perform rendering
- textile_Rendererplugin::render() : Perform rendering
- texturize_Rendererplugin::render() : Perform rendering
- gmcode_Rendererplugin::render() : Perform rendering
- autolinks_Rendererplugin::render() : Perform rendering
- bbcode_Rendererplugin::render() : Perform rendering
- wacko_Rendererplugin::render() : Perform rendering
[ Top ]
