|
Stud.IP
jlu_3.1 Revision 48552
|
Functions | |
| htmlReady ($what, $trim=TRUE, $br=FALSE) | |
| FixLinks ($data="", $fix_nl=TRUE, $nl_to_br=TRUE, $img=FALSE, $extern=FALSE, $wiki=FALSE) | |
| preg_call_link ($params, $mod, $img, $extern=FALSE, $wiki=FALSE) | |
| idna_link ($link, $mail=false) | |
| format ($text) | |
| FixLinks | ( | $data = "", |
|
$fix_nl = TRUE, |
|||
$nl_to_br = TRUE, |
|||
$img = FALSE, |
|||
$extern = FALSE, |
|||
$wiki = FALSE |
|||
| ) |
Stud.IP funktion aus /lib/visual.inc.php detects links in a given string and convert it into html-links
public
| string | text to convert |
| string | TRUE if all forms of newlines have to be converted in single |
| boolean | TRUE if newlines have to be converted into |
| boolean | TRUE if pictures should be displayed |
| boolean | TRUE if called from external pages ('externe Seiten') |
| format | ( | $text | ) |
uses a special syntax to formatting text
public
| string | text to format |

| htmlReady | ( | $what, | |
$trim = TRUE, |
|||
$br = FALSE |
|||
| ) |
function aus Stud.IP, /lib/visual.inc.php
| string | $what | text |
| boolean | $trim | ? |
| boolean | $br | ? |
| idna_link | ( | $link, | |
$mail = false |
|||
| ) |
convert links with 'umlauten' to punycode
public
| string | link to convert |
| boolean | for mailadr = true and for other link = false |
| preg_call_link | ( | $params, | |
| $mod, | |||
| $img, | |||
$extern = FALSE, |
|||
$wiki = FALSE |
|||
| ) |
callback function used by FixLinks()
private
| array | $params | parameters extracted by the regular expression |
| string | $mod | type of lin ('LINK' or 'MAIL') |
| boolean | $img | TRUE to handle image-links |
| boolean | $extern | TRUE if called from external pages ('externe Seiten') |
