Markup processing class
Class constructor | No description available. | |
Convert |
Converts a plain input into HTML output. |
|
PostProcess |
Post-processes a converted HTML string. |
|
SetSmileyPath |
Sets a new smiley image path. |
ApplyStyle |
Applies the desired style and writes all necessary HTML output. |
|
CheckSmiley |
Determines whether there's a smiley code at a given position. |
|
ClearStyle |
Clear current styles. |
|
ProcessInline |
Processes inline input. |
|
ProcessLine |
Processes a complete line from the input. |
|
ResetState |
Resets the internal state. |
|
ResolveLink |
Resolves a link specification into a URL. |
|
TranslateSmiley |
Translates a smiley code into HTML. |
|
TranslateStyle |
Translates style IDs into HTML. |
|
UpdateBlockQuote |
Applies the new block quote level. |
|
UpdateList |
Applies the new list type. |
|
UpdateTable |
Applies the new table state. |
Actual style flags at the current output position
Desired style flags (those are matched with $actualStyle)
Destination buffer, this is where the generated HTML is assembled into
Current list type (string of the * and # symbols from the beginning of a line)
Remembers the maximum columns count of the table to set a line (----) over the correct number of columns
Current quote level (0 is no quote)
Known smiley images, array(Code => array('file' => image filename, 'width'/'height' => image dimensions)
Path to smiley images
Cache combined regular expression for all smileys
Cache all possible characters that a smiley can start with, in one string
Like $smileyStarts, for use in a regex character class
Style stack, used to open and close HTML tags in the output in the correct order
Counts the columns in a single line (compared with $maxTableColumns at the end of each table line)
STYLE_LEFT | 0 |
Second style array level constants: Left-aligned floating box |
File: markup.class.php, line 13 |
STYLE_RIGHT | 1 |
Right-aligned floating box |
File: markup.class.php, line 14 |
STYLE_CENTRE | 2 |
Centre-aligned box |
File: markup.class.php, line 15 |
STYLE_BOX | 3 |
Bordered box |
File: markup.class.php, line 16 |
STYLE_OT | 4 |
Off topic |
File: markup.class.php, line 17 |
STYLE_PAR | 5 |
Paragraph |
File: markup.class.php, line 18 |
STYLE_EM | 6 |
Emphasis |
File: markup.class.php, line 19 |
STYLE_STRONG | 7 |
Strong emphasis |
File: markup.class.php, line 20 |
STYLE_MONO | 8 |
Monospace font |
File: markup.class.php, line 21 |
STYLE_COLOUR | 9 |
Text colour |
File: markup.class.php, line 22 |
STYLE_BACKC | 10 |
Background colour |
File: markup.class.php, line 23 |
STYLE_SIZE | 11 |
Font size |
File: markup.class.php, line 24 |
STYLE_BIG | 12 |
Bigger font |
File: markup.class.php, line 25 |
STYLE_SMALL | 13 |
Smaller font |
File: markup.class.php, line 26 |
STYLE_ULINE | 14 |
Font size |
File: markup.class.php, line 27 |
STYLE_STRIKE | 15 |
Font size |
File: markup.class.php, line 28 |
STYLE_SUB | 16 |
Subscript |
File: markup.class.php, line 29 |
STYLE_SUP | 17 |
Superscript |
File: markup.class.php, line 30 |
STYLE_RAW | 18 |
Raw text (monospace) |
File: markup.class.php, line 31 |
STYLE_ID_MAX | 18 | No description available. | File: markup.class.php, line 32 |
Implementation file: markup.class.php, line 10
© 2011 Yves Goergen. UNB Components Homepage. Reference generated on 2011-02-06.