Zend Framework
1.12
|
Public Member Functions | |
parse ($value) | |
Prepare the parsing of a bbcode string, the real parsing is done in _parse(). | |
_createTree () | |
Parse the token array into a tree. | |
Public Attributes | |
const | NEWLINE = "[newline\0]" |
const | TYPE_DEFAULT = 'default' |
const | TYPE_SINGLE = 'single' |
const | NAME_CHARSET = '^\[\]=\s' |
const | STATE_SCAN = 0 |
const | STATE_SCANATTRS = 1 |
const | STATE_PARSEVALUE = 2 |
Protected Member Functions | |
_tokenize () | |
Tokenize. | |
_checkTagDeclaration ($name) | |
Check if there is a tag declaration, and if it isnt there, add it. | |
_getType ($name) | |
Check the tag's type. | |
_isStopper ($tag) | |
Check if the tag is a stopper. | |
_addToSearchedStoppers (Zend_Markup_Token $token) | |
Add to searched stoppers. | |
_removeFromSearchedStoppers (Zend_Markup_Token $token) | |
Remove from searched stoppers. | |
Protected Attributes | |
$_tree | |
$_current | |
$_value = '' | |
$_valueLen = 0 | |
$_pointer = 0 | |
$_buffer = '' | |
$_temp | |
$_searchedStoppers = array() | |
$_tags | |
$_tokens = array() | |
$_state = self::STATE_SCAN | |
|
protected |
|
protected |
Check if there is a tag declaration, and if it isnt there, add it.
string | $name |
_createTree | ( | ) |
Parse the token array into a tree.
array | $tokens |
|
protected |
Check the tag's type.
string | $name |
|
protected |
Check if the tag is a stopper.
string | $tag |
|
protected |
|
protected |
Tokenize.
string | $input |
parse | ( | $value | ) |
Prepare the parsing of a bbcode string, the real parsing is done in _parse().
string | $value |
Implements Zend_Markup_Parser_ParserInterface.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
const NAME_CHARSET = '^\[\]=\s' |
const NEWLINE = "[newline\0]" |
const STATE_PARSEVALUE = 2 |
const STATE_SCAN = 0 |
const STATE_SCANATTRS = 1 |
const TYPE_DEFAULT = 'default' |
const TYPE_SINGLE = 'single' |