JBBCode/CodeDefinition.php
public static function construct($tagName, $replacementText, $useOption = false,
            $parseContent = true, $nestLimit = -1, $optionValidator = array(),
            $bodyValidator = null)
    {
        $def = new CodeDefinition();
        $def->elCounter = 0;
        $def->setTagName($tagName);
        $def->setReplacementText($replacementText);
        $def->useOption = $useOption;
        $def->parseContent = $parseContent;
        $def->nestLimit = $nestLimit;
        $def->optionValidator = $optionValidator;
        $def->bodyValidator = $bodyValidator;
        return $def;
    }
public static function construct($tagName, $replacementText, $useOption = false,
            $parseContent = true, $nestLimit = -1, $optionValidator = array(),
            $bodyValidator = null)
    {
        $def = new CodeDefinition();
        $def->elCounter = 0;
        $def->setTagName($tagName);
        $def->setReplacementText($replacementText);
        $def->useOption = $useOption;
        $def->parseContent = $parseContent;
        $def->nestLimit = $nestLimit;
        $def->optionValidator = $optionValidator;
        $def->bodyValidator = $bodyValidator;
        return $def;
    }
public static function construct ( $ tagName , $ replacementText , $ useOption = false , $ parseContent = true , $ nestLimit = - 1 , $ optionValidator = array ( ) , $ bodyValidator = null ) { $ def = new CodeDefinition ( ) ; $ def -> elCounter = 0 ; $ def -> setTagName ( $ tagName ) ; $ def -> setReplacementText ( $ replacementText ) ; $ def -> useOption = $ useOption ; $ def -> parseContent = $ parseContent ; $ def -> nestLimit = $ nestLimit ; $ def -> optionValidator = $ optionValidator ; $ def -> bodyValidator = $ bodyValidator ; return $ def ; }
Constructs a new CodeDefinition.
Constructs a new CodeDefinition .