PHP Classes

File: lib/plugins/

Recommend this page to a friend!
  Classes of David Tamas  >  g-template-php  >  lib/plugins/  >  Download  
File: lib/plugins/
Role: Example script
Content type: text/plain
Description: Example script
Class: g-template-php
Process and render templates generating PHP code
Author: By
Last change:
Date: 3 years ago
Size: 688 bytes


Class file image Download
 * gTemplate Plugins
 * @package gTemplate
 * @subpackage Plugins

 * gTemplate cat modifier plugin
 * Type: inlinemodifier<br>
 * Name: cat<br>
 * Purpose: catenate a value to a variable<br>
 * Example: {$var|cat:"foo"}
 * @version 1.0
 * @author Tamas David (G-Lex) <glex at>
 * @link G-Template Engine on Github
function tpl_inlinemodifier_cat($variable, $arguments, &$gTpl)
    if (!
$arguments[0]) {
$gTpl->trigger_error("[SYNTAX] 'cat' modifier requires one parameter", E_USER_NOTICE, $object->_file, $object->_linenum);
$variable .'.'.$arguments[0];

For more information send a message to info at phpclasses dot org.