Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.
NEWLINE = '[newline\0]'
Details TYPE_DEFAULT = 'default'
Details TYPE_SINGLE = 'single'
Details NAME_CHARSET = '^\[\]=\s'
Details STATE_SCAN = '0'
Details STATE_SCANATTRS = '1'
Details STATE_PARSEVALUE = '2'
Detailsstring $_buffer = ''The buffer
DetailsZend_Markup_Token $_current = ''Current token
Detailsint $_pointer = '0'Current pointer
Detailsarray $_searchedStoppers = 'array'Stoppers that we are searching for
Detailsint $_state = 'self'State
Detailsarray $_tags = 'array'Tag information
Detailsarray $_temp = ''Temporary tag storage
Detailsarray $_tokens = 'array'Token array
DetailsZend_Markup_TokenList $_tree = ''Token tree
Detailsstring $_value = ''Source to tokenize
Detailsint $_valueLen = '0'Length of the value
Details_addToSearchedStoppers(
Zend_Markup_Token $token
)
:
voidAdd to searched stoppers
Details_checkTagDeclaration(
string $name
)
:
voidCheck if there is a tag declaration, and if it isnt there, add it
Details_createTree(
)
:
voidParse the token array into a tree
Details_getType(
string $name
)
:
stringCheck the tag's type
Details_isStopper(
string $tag
)
:
boolCheck if the tag is a stopper
Details_removeFromSearchedStoppers(
Zend_Markup_Token $token
)
:
voidRemove from searched stoppers
Details_tokenize(
)
:
voidTokenize
Detailsparse(
string $value
)
:
Zend_Markup_TokenListPrepare the parsing of a bbcode string, the real parsing is done in {@link _parse()}
Details