PHP Class Contao\InsertTags

Usage: $it = new InsertTags(); echo $it->replace($text);
Inheritance: extends Controller
Afficher le fichier Open project: contao/core-bundle Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( ) Make the constructor public
replace ( string $strBuffer, boolean $blnCache = true ) : string Recursively replace insert tags with their values

Méthodes protégées

Méthode Description
doReplace ( string $strBuffer, boolean $blnCache ) : string Replace insert tags with their values

Method Details

__construct() public méthode

Make the constructor public
public __construct ( )

doReplace() protected méthode

Replace insert tags with their values
protected doReplace ( string $strBuffer, boolean $blnCache ) : string
$strBuffer string The text with the tags to be replaced
$blnCache boolean If false, non-cacheable tags will be replaced
Résultat string The text with the replaced tags

replace() public méthode

Recursively replace insert tags with their values
public replace ( string $strBuffer, boolean $blnCache = true ) : string
$strBuffer string The text with the tags to be replaced
$blnCache boolean If false, non-cacheable tags will be replaced
Résultat string The text with the replaced tags