[ Index ] |
|
Code source de Serendipity 1.2 |
[Code source] [Imprimer] [Statistiques]
(pas de description)
Poids: | 195 lignes (6 kb) |
Inclus ou requis: | 0 fois |
Référencé: | 0 fois |
Nécessite: | 0 fichiers |
Text_Wiki_Rule_interwiki:: (4 méthodes):
parse()
process()
processDescr()
renderXhtml()
Classe: Text_Wiki_Rule_interwiki - X-Ref
This class implements a Text_Wiki_Rule to find source text marked asparse() X-Ref |
Parser. We override the standard parser so we can find both described interwiki links and standalone links. return: void |
process(&$matches) X-Ref |
Generates a replacement for the matched standalone interwiki text. Token options are: 'site' => The key name for the Text_Wiki interwiki array map, usually the name of the interwiki site. 'page' => The page on the target interwiki to link to. 'text' => The text to display as the link. param: array &$matches The array of matches from parse(). return: A delimited token to be used as a placeholder in |
processDescr(&$matches) X-Ref |
Generates a replacement for described interwiki links. Token options are: 'site' => The key name for the Text_Wiki interwiki array map, usually the name of the interwiki site. 'page' => The page on the target interwiki to link to. 'text' => The text to display as the link. param: array &$matches The array of matches from parse(). return: A delimited token to be used as a placeholder in |
renderXhtml($options) X-Ref |
Renders a token into text matching the requested format. param: array $options The "options" portion of the token (second return: string The text rendered from the token options. |
Généré le : Sat Nov 24 09:00:37 2007 | par Balluche grâce à PHPXref 0.7 |
![]() |