PHP Classes

File: resources/Smarty/plugins/modifiercompiler.cat.php

Recommend this page to a friend!
  Classes of Yerfry Ramirez   Basic Controller Framework   resources/Smarty/plugins/modifiercompiler.cat.php   Download  
File: resources/Smarty/plugins/modifiercompiler.cat.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: Basic Controller Framework
Framework to route requests configured controllers
Author: By
Last change:
Date: 6 years ago
Size: 637 bytes
 

Contents

Class file image Download
<?php
/**
 * Smarty plugin
 *
 * @package Smarty
 * @subpackage PluginsModifierCompiler
 */

/**
 * Smarty cat modifier plugin
 * Type: modifier<br>
 * Name: cat<br>
 * Date: Feb 24, 2003<br>
 * Purpose: catenate a value to a variable<br>
 * Input: string to catenate<br>
 * Example: {$var|cat:"foo"}
 *
 * @link http://smarty.php.net/manual/en/language.modifier.cat.php cat
 * (Smarty online manual)
 * @author Uwe Tews
 *
 * @param array $params parameters
 *
 * @return string with compiled code
 */
function smarty_modifiercompiler_cat($params)
{
    return
'(' . implode(').(', $params) . ')';
}