public staticfunctionversion (
) {} :: STRING
reimplemented over \SmartModExtLib\Tpl\InterfaceSmartTemplating
public staticfunctionrender_file_template (
string$file,
array$arr_vars = []
) {} :: STRING
reimplemented over \SmartModExtLib\Tpl\InterfaceSmartTemplating
public staticfunctiondebug (
string$tpl
) {} :: STRING
reimplemented over \SmartModExtLib\Tpl\InterfaceSmartTemplating
class Properties
class Constants
Sample code: PHP
<?php
// Sample: use this code in a controller of Smart.Framework (after you install the Smart.Framework.Modules) $this->PageViewSetVar( 'main', \SmartModExtLib\TplTwig\SmartTwigTemplating::render_file_template( 'modules/my-module-name/views/my-view.twig.htm', [ 'someVar' => 'Hello World', 'otherVar' => date('Y-m-d H:i:s') ] ) );
// #end php code
documentation generated on: 2023-10-19 23:15:56 +0000