本文整理匯總了PHP中Parser::Parser方法的典型用法代碼示例。如果您正苦於以下問題:PHP Parser::Parser方法的具體用法?PHP Parser::Parser怎麽用?PHP Parser::Parser使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類Parser
的用法示例。
在下文中一共展示了Parser::Parser方法的8個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: ContentParser
function ContentParser()
{
global $CONFIG;
parent::Parser();
$this->html_auth =& $CONFIG['html_auth'];
$this->forbidden_tags =& $CONFIG['forbidden_tags'];
}
示例2: array
function __construct()
{
#
# Constructor function. Initialize the parser object.
#
# Add extra escapable characters before parent constructor
# initialize the table.
$this->escape_chars .= ':|';
# Insert extra document, block, and span transformations.
# Parent constructor will do the sorting.
$this->document_gamut += array("doFencedCodeBlocks" => 5, "stripFootnotes" => 15, "stripAbbreviations" => 25, "appendFootnotes" => 50);
$this->block_gamut += array("doFencedCodeBlocks" => 5, "doTables" => 15, "doDefLists" => 45);
$this->span_gamut += array("doFootnotes" => 5, "doAbbreviations" => 70);
parent::Parser();
}
示例3: BBCodeHighlighter
function BBCodeHighlighter()
{
parent::Parser();
}
示例4: DocParser
function DocParser($aFile)
{
parent::Parser($aFile);
}
示例5: ContentUnparser
function ContentUnparser()
{
parent::Parser();
}
示例6: DBParser
function DBParser($aProjname, $aFile, $aDB)
{
$this->iDB = $aDB;
$this->iLogNbr = 0;
$this->iProjName = $aProjname;
parent::Parser($aFile);
}
示例7: TemplateHighlighter
function TemplateHighlighter()
{
parent::Parser();
}
示例8: ContentSecondParser
function ContentSecondParser()
{
parent::Parser();
}