PHP Класс Contao\InsertTags

Usage: $it = new InsertTags(); echo $it->replace($text);
Наследование: extends Controller
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
__construct ( ) Make the constructor public
replace ( string $strBuffer, boolean $blnCache = true ) : string Recursively replace insert tags with their values

Защищенные методы

Метод Описание
doReplace ( string $strBuffer, boolean $blnCache ) : string Replace insert tags with their values

Описание методов

__construct() публичный Метод

Make the constructor public
public __construct ( )

doReplace() защищенный Метод

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
Результат string The text with the replaced tags

replace() публичный Метод

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
Результат string The text with the replaced tags