
Public Member Functions | |
| __construct ($wr) | |
| open () | |
| close () | |
| closeNow () | |
| detect ($string) | |
| getRenderedLine () | |
| getType () | |
| setMatch ($match) | |
| getMatch () | |
| _renderInlineTag ($string) | |
| _checkAttributes (&$string) | |
Public Attributes | |
| $type = '' | |
| $_openTag = '' | |
| $_closeTag = '' | |
| $_closeNow = false | |
| $engine = null | |
| $_detectMatch = null | |
| $regexp = '' | |
| Pluf_Text_Wiki_BlockRenderer::__construct | ( | $ | wr | ) |
constructeur à surcharger pour définir les valeurs des différentes proprietés
| WikiRender | $wr l'objet moteur wiki |
Reimplemented in Pluf_Text_Wiki_Block_Blockquote, Pluf_Text_Wiki_Block_Definition, Pluf_Text_Wiki_Block_Hr, Pluf_Text_Wiki_Block_List, Pluf_Text_Wiki_Block_P, Pluf_Text_Wiki_Block_Pre, Pluf_Text_Wiki_Block_Table, and Pluf_Text_Wiki_Block_Title.
| Pluf_Text_Wiki_BlockRenderer::open | ( | ) |
renvoi une chaine correspondant à l'ouverture du bloc
Reimplemented in Pluf_Text_Wiki_Block_Blockquote, Pluf_Text_Wiki_Block_List, and Pluf_Text_Wiki_Block_Table.
| Pluf_Text_Wiki_BlockRenderer::close | ( | ) |
renvoi une chaine correspondant à la fermeture du bloc
Reimplemented in Pluf_Text_Wiki_Block_Blockquote, and Pluf_Text_Wiki_Block_List.
| Pluf_Text_Wiki_BlockRenderer::closeNow | ( | ) |
indique si le bloc doit etre immédiatement fermé
| Pluf_Text_Wiki_BlockRenderer::detect | ( | $ | string | ) |
test si la chaine correspond au debut ou au contenu d'un bloc
| string | $string |
| Pluf_Text_Wiki_BlockRenderer::getRenderedLine | ( | ) |
renvoi la ligne, traitée pour le bloc. A surcharger éventuellement.
Reimplemented in Pluf_Text_Wiki_Block_Blockquote, Pluf_Text_Wiki_Block_Definition, Pluf_Text_Wiki_Block_Hr, Pluf_Text_Wiki_Block_List, Pluf_Text_Wiki_Block_Pre, Pluf_Text_Wiki_Block_Table, and Pluf_Text_Wiki_Block_Title.
| Pluf_Text_Wiki_BlockRenderer::getType | ( | ) |
renvoi le type du bloc en cours de traitement
| Pluf_Text_Wiki_BlockRenderer::setMatch | ( | $ | match | ) |
définit la liste des élements trouvés par l'expression régulière regexp
| Pluf_Text_Wiki_BlockRenderer::getMatch | ( | ) |
renvoi la liste des élements trouvés par l'expression régulière regexp
| Pluf_Text_Wiki_BlockRenderer::_renderInlineTag | ( | $ | string | ) |
traite le rendu des signes de type inline (qui se trouvent necessairement dans des blocs
| string | $string une chaine contenant une ou plusieurs balises wiki |
| Pluf_Text_Wiki_BlockRenderer::_checkAttributes | ( | &$ | string | ) |
détection d'attributs de bloc (ex: >°°attr1|attr2|attr3°° la citation )
| Pluf_Text_Wiki_BlockRenderer::$type = '' |
| Pluf_Text_Wiki_BlockRenderer::$_openTag = '' |
| Pluf_Text_Wiki_BlockRenderer::$_closeTag = '' |
| Pluf_Text_Wiki_BlockRenderer::$_closeNow = false |
| Pluf_Text_Wiki_BlockRenderer::$engine = null |
| Pluf_Text_Wiki_BlockRenderer::$_detectMatch = null |
| Pluf_Text_Wiki_BlockRenderer::$regexp = '' |