final class \SmartModExtLib\TplTwist\SmartTwistTemplating
implements \SmartModExtLib\Tpl\InterfaceSmartTemplating
{
} ::
- Language: PHP
- Located at: modules/mod-tpl-twist/libs/SmartTwistTemplating.php
- Package: modules:TemplatingEngine
- Namespace: \SmartModExtLib\TplTwist\
- Class Name: SmartTwistTemplating
- Version: v.20221220
- Depends: extensions: PHP Ctype ; classes: TwistTPL, \SmartModExtLib\TplTwist\Templating
- Usage: static object: Class::method() - This class provides only STATIC methods
- Inheritance Chart:
class \SmartModExtLib\TplTwist\SmartTwistTemplating →
- ↳ interface \SmartModExtLib\Tpl\InterfaceSmartTemplating
public static function version (
) {} :: STRING
reimplemented over \SmartModExtLib\Tpl\InterfaceSmartTemplating
public static function render_file_template (
string $file,
array $arr_vars = []
) {} :: STRING
reimplemented over \SmartModExtLib\Tpl\InterfaceSmartTemplating
public static function debug (
string $tpl
) {} :: STRING
reimplemented over \SmartModExtLib\Tpl\InterfaceSmartTemplating
<?php
// Sample: use this code in a controller of Smart.Framework (after you install the Smart.Framework.Modules)
$this->PageViewSetVar(
'main',
\SmartModExtLib\TplTwist\SmartTwistTemplating::render_file_template(
'modules/my-module-name/views/my-view.twist.htm',
[
'someVar' => 'Hello World',
'otherVar' => date('Y-m-d H:i:s')
]
)
);
// #end php code
documentation generated on: 2024-12-16 17:13:20 +0000
Smart.Framework © 2009-2024 unix-world.org