Page MenuHomeCode

smarty_method__get_filter_name.php
No OneTemporary

smarty_method__get_filter_name.php

<?php
/**
* Smarty method _get_filter_name
*
* Return internal filter name
*
* @package Smarty
* @subpackage SmartyMethod
* @author Uwe Tews
*/
/**
* Return internal filter name
*
* @param object $smarty
* @param callback $function
*/
function Smarty_Method__get_filter_name($smarty, $function)
{
if (is_array($function)) {
$_class_name = (is_object($function[0]) ?
get_class($function[0]) : $function[0]);
return $_class_name . '_' . $function[1];
}
else {
return $function;
}
}
?>

File Metadata

Mime Type
text/x-php
Expires
Sun, Apr 6, 14:18 (2 w, 1 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
25831
Default Alt Text
smarty_method__get_filter_name.php (514 B)

Event Timeline