[ Index ]
 

Code source de Horde 3.1.3

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/lib/Horde/Text/Filter/ -> linkurls.php (sommaire)

(pas de description)

Poids: 82 lignes (3 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 1 class

Text_Filter_linkurls:: (2 méthodes):
  preProcess()
  getPatterns()


Classe: Text_Filter_linkurls  - X-Ref

The Text_Filter_linkurls:: class turns all URLs in the text into hyperlinks.

Parameters:
<pre>
target   -- The link target.  Defaults to _blank.
class    -- The CSS class of the generated links.  Defaults to none.
nofollow -- Whether to set the 'rel="nofollow"' attribute on links.
capital  -- generate uppercase <A> tags so you can know which tags you just
generated.  Defaults to false.
callback -- An optional callback function that the URL is passed through
before being set as the href attribute.  Must be a string with
the function name, the function must take the original as the
first and only parameter.
</pre>

$Horde: framework/Text_Filter/Filter/linkurls.php,v 1.11.10.5 2006/01/01 21:28:38 jan Exp $

Copyright 2003-2006 Tyler Colbert <tyler-hordeml@colberts.us>
Copyright 2004-2006 Jan Schneider <jan@horde.org>

See the enclosed file COPYING for license information (LGPL). If you did not
receive this file, see http://www.fsf.org/copyleft/lgpl.html.

preProcess($text)   X-Ref
Executes any code necessary before applying the filter patterns.

param: string $text  The text before the filtering.
return: string  The modified text.

getPatterns()   X-Ref
Returns a hash with replace patterns.

return: array  Patterns hash.



Généré le : Sun Feb 25 18:01:28 2007 par Balluche grâce à PHPXref 0.7