apidoc |
![]() |
[ class tree: apidoc ] [ index: apidoc ] [ all elements ] |
![]() |
Packages: Text_Wiki Classes: |
[ Top ] Method DetailText_Wiki (Constructor) [line 409]
Constructor. Loads the rule objects.
Parameters:
[ Top ]
deleteRule [line 499]
Delete (remove or unset) a rule from the $rules property.
Parameters:
[ Top ]
disableRule [line 613]
Disables a rule so that it is not applied when parsing.
Parameters:
[ Top ]
enableRule [line 593]
Enables a rule so that it is applied when parsing.
Parameters:
[ Top ]
getRuleConf [line 558]
Sets the value of a rule's configuration keys.
Parameters:
[ Top ]
getSource [line 779]
Returns the parsed source text with delimited token placeholders.
[ Top ]
getTokens [line 799]
Returns tokens that have been parsed out of the source text.
Parameters:
[ Top ]
insertRule [line 438]
Inserts a rule into to the rule set.
Parameters:
[ Top ]
parse [line 671]
Sets the $_source text property, then parses it in place and retains tokens in the $_tokens array property.
Parameters:
[ Top ]
render [line 705]
Renders tokens back into the source text, based on the requested format.
Parameters:
[ Top ]
setRuleConf [line 524]
Sets the value of a rule's configuration keys.
Parameters:
[ Top ]
transform [line 650]
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 826]
Loads a rule class file and creates an instance of it.
Parameters:
[ Top ]
Documentation generated on Mon, 11 Mar 2019 10:14:15 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004. |