| apidoc |
| [ class tree: apidoc ] [ index: apidoc ] [ all elements ] |
|
Packages: Text_Wiki Classes: |
[ Top ] Method DetailText_Wiki (Constructor) [line 430]
Constructor. Loads the rule objects.
Parameters:
[ Top ]
deleteRule [line 520]
Delete (remove or unset) a rule from the $rules property.
Parameters:
[ Top ]
disableRule [line 634]
Disables a rule so that it is not applied when parsing.
Parameters:
[ Top ]
enableRule [line 614]
Enables a rule so that it is applied when parsing.
Parameters:
[ Top ]
getRuleConf [line 579]
Sets the value of a rule's configuration keys.
Parameters:
[ Top ]
getSource [line 800]
Returns the parsed source text with delimited token placeholders.
[ Top ]
getTokens [line 820]
Returns tokens that have been parsed out of the source text.
Parameters:
[ Top ]
insertRule [line 459]
Inserts a rule into to the rule set.
Parameters:
[ Top ]
parse [line 692]
Sets the $_source text property, then parses it in place and retains tokens in the $_tokens array property.
Parameters:
[ Top ]
render [line 726]
Renders tokens back into the source text, based on the requested format.
Parameters:
[ Top ]
setRuleConf [line 545]
Sets the value of a rule's configuration keys.
Parameters:
[ Top ]
transform [line 671]
Parses and renders the text passed to it, and returns the results. First, the method parses the source text, applying rules to the text as it goes. These rules will modify the source text in-place, replacing some text with delimited tokens (and populating the $this->_tokens array as it goes). Next, the method renders the in-place tokens into the requested output format. Finally, the method returns the transformed text. Note that the source text is transformed in place; once it is transformed, it is no longer the same as the original source text.
Parameters:
[ Top ]
_loadRuleObject [line 847]
Loads a rule class file and creates an instance of it.
Parameters:
[ Top ]
Documentation generated on Mon, 11 Mar 2019 10:16:55 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004. |