[ Index ] |
|
Code source de Serendipity 1.2 |
[Code source] [Imprimer] [Statistiques]
(pas de description)
Poids: | 120 lignes (3 kb) |
Inclus ou requis: | 0 fois |
Référencé: | 0 fois |
Nécessite: | 0 fichiers |
Text_Wiki_Parse_Interwiki:: (3 méthodes):
parse()
process()
processDescr()
Classe: Text_Wiki_Parse_Interwiki - X-Ref
This class implements a Text_Wiki_Parse 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 |
Généré le : Sat Nov 24 09:00:37 2007 | par Balluche grâce à PHPXref 0.7 |
![]() |