Main Page | Modules | Class Hierarchy | Class List | File List | Class Members | File Members | Related Pages

bbcode Class Reference
[BB-Code-Class]

List of all members.

Public Member Functions

 bbcode ($string, $db_smilie_file="", $smilie_url="")
 Class constructor. If the path to the smilie database or the URL to the smilie folder is not set, no smilies will be parsed.
 _bbcode ()
 Class Destructor.
 bbcode_bb2html ()
 Converts a BB-Code ASCII string to HTML format.
 bbcode_flush_errorlist ()
 Empties the error string list.
 bbcode_get_errorlist ()
 Return error string list.
 bbcode_get_result ()
 Return converted ASCII string.
 bbcode_parse_divisions ()
 Division parser.
 bbcode_parse_fontcolors ()
 RGB font color parser for.
 bbcode_parse_images ()
 Image parser.
 bbcode_parse_list ()
 List parser.
 bbcode_parse_smilies ()
 Smilie parser. For initialization look also into the class constructor.
 bbcode_parse_special_chars ()
 Special char parser.
 bbcode_parse_tables ()
 Table parser.
 bbcode_parse_textformat ()
 Simple text format parser.
 bbcode_link2html ()
 Converts an ASCCI string with links to HTML format.
 bbcode_html2text ()
 Convert HTML tags into normal viewable text.

Public Attributes

 $bbcode_bb2html
 $bbcode_db_smilie_file = 0
 $bbcode_error_hdl = 0
 $bbcode_smilie_url = 0

Constructor & Destructor Documentation

function bbcode::bbcode string,
db_smilie_file = "",
smilie_url = ""
 

Class constructor. If the path to the smilie database or the URL to the smilie folder is not set, no smilies will be parsed.

Parameters:
$string = ASCII String for parsing.
$db_smilie_file = Smilie database file. Paramter MUST include the path to the file too !
$smilie_url = Complete URL to the smilie folder.


Member Function Documentation

function bbcode::_bbcode  ) 
 

Class Destructor.

function bbcode::bbcode_bb2html  ) 
 

Converts a BB-Code ASCII string to HTML format.

Returns:
Converted string

function bbcode::bbcode_flush_errorlist  ) 
 

Empties the error string list.

Returns:
Returns 'true' if everything has been all right else 'false'.

function bbcode::bbcode_get_errorlist  ) 
 

Return error string list.

Returns:
Error list

function bbcode::bbcode_get_result  ) 
 

Return converted ASCII string.

Returns:
Converted ASCII string

function bbcode::bbcode_html2text  ) 
 

Convert HTML tags into normal viewable text.

Returns:
Returns 'true' if everything has been all right else 'false'.

function bbcode::bbcode_link2html  ) 
 

Converts an ASCCI string with links to HTML format.

Returns:
Returns 'true' if everything has been all right else 'false'.

function bbcode::bbcode_parse_divisions  ) 
 

Division parser.

Returns:
Returns 'true' if everything has been all right else 'false'.

function bbcode::bbcode_parse_fontcolors  ) 
 

RGB font color parser for.

Returns:
Returns 'true' if everything has been all right else 'false'.

function bbcode::bbcode_parse_images  ) 
 

Image parser.

Returns:
Returns 'true' if everything has been all right else 'false'.

function bbcode::bbcode_parse_list  ) 
 

List parser.

Returns:
Returns 'true' if everything has been all right else 'false'.

function bbcode::bbcode_parse_smilies  ) 
 

Smilie parser. For initialization look also into the class constructor.

Returns:
Returns 'true' if everything has been all right else 'false'.

function bbcode::bbcode_parse_special_chars  ) 
 

Special char parser.

Returns:
Returns 'true' if everything has been all right else 'false'.

function bbcode::bbcode_parse_tables  ) 
 

Table parser.

Returns:
Returns 'true' if everything has been all right else 'false'.

function bbcode::bbcode_parse_textformat  ) 
 

Simple text format parser.

Returns:
Returns 'true' if everything has been all right else 'false'.


Member Data Documentation

bbcode::$bbcode_bb2html
 

String for parsing

bbcode::$bbcode_db_smilie_file = 0
 

Complete name and path to Smilie database file.

bbcode::$bbcode_error_hdl = 0
 

Error message handler

bbcode::$bbcode_smilie_url = 0
 

Complete URL to the smilie folder


The documentation for this class was generated from the following file:
Generated on Fri Aug 26 08:13:53 2005 for PHP-Lib-Xtreme by  doxygen 1.4.3