Unclassified NewsBoard Code Reference

AbbcProc function

Parse and convert ABBC meta-text to HTML

function AbbcProc ($text, $check = false, $totext = false);

Parameters:

text
(string) ABBC code to convert
check  –  optional, default: false
(bool) Perform a syntax check only. If true, a (bool) is returned
that indicates whether the ABBC code is correct or not.
totext  –  optional, default: false
(bool) Convert to plaintext instead of HTML

Return value:

(string) HTML or plaintext or (bool) correct code or not

Remarks:

NOTE: Plaintext conversion is currently untested and may be broken. It will
be checked as soon as it's used in this application.

Implementation file: unb_lib/abbc.lib.php, line 123

© 2006 Yves Goergen. Unclassified NewsBoard Homepage. Reference based on UNB unb.devel.20060128, dated 2006-01-28.