PHP 클래스 Bootstrap\View\BootstrapStringTemplate

상속: extends Cake\View\StringTemplate
파일 보기 프로젝트 열기: holt59/cakephp3-bootstrap3-helpers

공개 메소드들

메소드 설명
format ( string $name, array $data ) : string Format a template string with $data

보호된 메소드들

메소드 설명
_compileTemplates ( array $templates = [] ) : void Compile templates into a more efficient printf() compatible format.

메소드 상세

_compileTemplates() 보호된 메소드

Compile templates into a more efficient printf() compatible format.
protected _compileTemplates ( array $templates = [] ) : void
$templates array The template names to compile. If empty all templates will be compiled.
리턴 void

format() 공개 메소드

Format a template string with $data
public format ( string $name, array $data ) : string
$name string The template name.
$data array The data to insert.
리턴 string