server/onyx/modules/templates/smarty/plugins/modifier.ereg.php

31 lines
551 B
PHP
Raw Normal View History

2013-10-09 13:40:23 +00:00
<?php
/**
* Smarty plugin
* @package Smarty
* @subpackage plugins
*/
/**
* Smarty {counter} function plugin
*
* Type: function<br>
* Name: counter<br>
* Purpose: print out a counter value
* @author Monte Ohrt <monte at ohrt dot com>
* @link http://smarty.php.net/manual/en/language.function.counter.php {counter}
* (Smarty online manual)
* @param array parameters
* @param Smarty
* @return string|null
*/
function smarty_modifier_ereg($str, $params)
{
return ereg($str, $params);
}
/* vim: set expandtab: */
?>