PHP 클래스 Contao\InsertTags

Usage: $it = new InsertTags(); echo $it->replace($text);
상속: extends Controller
파일 보기 프로젝트 열기: contao/core-bundle 1 사용 예제들

공개 메소드들

메소드 설명
__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