| [ Index ] |
|
Code source de Serendipity 1.2 |
[Code source] [Imprimer] [Statistiques]
(pas de description)
| Poids: | 265 lignes (7 kb) |
| Inclus ou requis: | 0 fois |
| Référencé: | 0 fois |
| Nécessite: | 0 fichiers |
Text_Wiki_Parse_Url:: (5 méthodes):
Text_Wiki_Parse_Url()
parse()
process()
processFootnote()
processDescr()
Classe: Text_Wiki_Parse_Url - X-Ref
Parse for URLS in the source text.| Text_Wiki_Parse_Url(&$obj) X-Ref |
| Constructor. We override the constructor so we can comment the regex nicely. |
| parse() X-Ref |
| Find three different kinds of URLs in the source text. |
| process(&$matches) X-Ref |
| Process inline URLs. param: array &$matches param: array $matches An array of matches from the parse() method return: string The processed text replacement. |
| processFootnote(&$matches) X-Ref |
| Process numbered (footnote) URLs. Token options are: param: array &$matches param: array $matches An array of matches from the parse() method return: string The processed text replacement. |
| processDescr(&$matches) X-Ref |
| Process described-reference (named-reference) URLs. Token options are: 'type' => ['inline'|'footnote'|'descr'] the type of URL 'href' => the URL link href portion 'text' => the displayed text of the URL link param: array &$matches param: array $matches An array of matches from the parse() method return: string The processed text replacement. |
| Généré le : Sat Nov 24 09:00:37 2007 | par Balluche grâce à PHPXref 0.7 |
|