library dot-js-php-render
doT js templates render for php Edit
yatsenkolesh/dot-js-php-render
doT js templates render for php Edit
- Wednesday, April 18, 2018
- by yatsenkolesh
- Repository
- 1 Watchers
- 5 Stars
- 4 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 0 Forks
- 1 Open issues
- 4 Versions
- 0 % Grown
dot-js-php-render
License - BSD-3-Clause
Uses for render doT templates in PHP
Use example:
$doT = doT\doT::instance(DOCROOT.'/modules/Work/views/PR/Products/doT/option-content.php', 1); // or first code of template in first arg
$doT -> assign([
'id' => 2,
'options' => 'options-list'
]);
echo $doT-> render('option-content-tmpl'); //find in file id content or just content
To install with composer
composer require yatsenkolesh/dot-js-php-render
dev-master
9999999-dev
doT js templates render for php Edit
Sources
Download
BSD-3-Clause
by
webfay
0.0.3
0.0.3.0
doT js templates render for php Edit
Sources
Download
BSD-3-Clause
by
webfay
0.0.2
0.0.2.0
doT js templates render for php Edit
Sources
Download
BSD-3-Clause
by
webfay
0.0.1
0.0.1.0
doT js templates render for php Edit
Sources
Download
BSD-3-Clause
by
webfay