PHP Classes

File: htdocs/class/template.php

Recommend this page to a friend!
  Packages of Michael Beck   Xoops 2.5   htdocs/class/template.php  
File: htdocs/class/template.php
Role: Class source
Content type: text/plain
Description: Class source
Class: Xoops 2.5
Modular content management publication system
Author: By
Last change: Merge pull request #1589 from mambax7/feature/session_for_PHP8.4

fix for https://github.com/XOOPS/XoopsCore25/issues/1588
Merge pull request #1586 from mambax7/feature/Cannot_use_bool_as_array

fix for Cannot use bool as array
register the `file_exists` function as a custom modifier
copyright update
Smarty
Smarty 4: Register the count and strstr functions
Type casting
PER-CS formatting
short array
Update XOOPS version
Extend from Smarty instead of SmartyBC
standardization on addDeprecated()
Merge pull request #1239 from Andrew-Staves-Activ/notificationhandler_subscribe_success

$tpl_id of type string is incompatible with the type integer expected by parameter $id of XoopsObjectHandler::get()
Merge pull request #988 from geekwright/writecontext

Cannot use method return in write context error
Add core.class.template.new event

This event is triggered when a new XoopsTpl (an extended
Smarty object) is created. This allows customization of
the Smarty environment from within a module.

One possible use would be to support a module based plugin
library. An example event listener:

public static function eventCoreClassTemplateNew($arg)
{
$smartyObject = $arg[0];
$smartyObject->plugins_dir[] = __DIR__;
}
Merge branch 'feature/php8_templates' of https://github.com/mambax7/XoopsCore25 into feature/php8_templates

# Conflicts:
# htdocs/themes/xswatch4/modules/publisher/publisher_item.tpl
Customized Smarty debug.tpl
Merge xswatch4
Date: 2 months ago
Size: 25,333 bytes

You need to be a registered user and login to get this file.

Login Immediately with your account on: