PHP Класс Bootstrap\View\BootstrapStringTemplate

Наследование: extends Cake\View\StringTemplate
Показать файл Открыть проект

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

Метод Описание
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