Source of file GlobalContentTemplateProvider.php
Size: 0,341 Bytes - Last Modified: 2021-12-23T10:58:11+00:00
/var/www/docs.ssmods.com/process/src/code/GlobalContentTemplateProvider.php
123456789101112131415161718 | <?php class GlobalContentTemplateProvider implements TemplateGlobalProvider { public static function get_template_global_variables() { return [ 'GlobalContent', 'Dump' ]; } public static function GlobalContent($key = null){ $inst = GlobalContent::inst(); return (is_null($key) ? $inst : $inst->{$key}); } } |