[ Index ] |
|
Code source de Serendipity 1.2 |
[Code source] [Imprimer] [Statistiques]
(pas de description)
Poids: | 111 lignes (4 kb) |
Inclus ou requis: | 0 fois |
Référencé: | 0 fois |
Nécessite: | 0 fichiers |
Text_Wiki_Parse_Freelink:: (2 méthodes):
Text_Wiki_Parse_Freelink()
process()
Classe: Text_Wiki_Parse_Freelink - X-Ref
This class implements a Text_Wiki_Parse to find source text marked as aText_Wiki_Parse_Freelink(&$obj) X-Ref |
Constructor. We override the Text_Wiki_Parse constructor so we can explicitly comment each part of the $regex property. param: object &$obj The calling "parent" Text_Wiki object. |
process(&$matches) X-Ref |
Generates a replacement for the matched text. Token options are: 'page' => the wiki page name (e.g., HomePage). 'text' => alternative text to be displayed in place of the wiki page name. 'anchor' => a named anchor on the target wiki page 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 |
![]() |