update
This commit is contained in:
21
core/plugins/Smarty/modifier.renderAdditional.php
Normal file
21
core/plugins/Smarty/modifier.renderAdditional.php
Normal file
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* renderuje wartość
|
||||
*
|
||||
* @param $str
|
||||
* @return unknown_type
|
||||
*/
|
||||
|
||||
function smarty_modifier_renderAdditional($array){
|
||||
|
||||
$str = array();
|
||||
|
||||
if(is_array($array))foreach($array AS $item) {
|
||||
$str[] = $item->GetLabelY() . ': ' . smarty_modifier_renderValue($item);
|
||||
}
|
||||
|
||||
|
||||
return implode(',',$str);
|
||||
}
|
||||
?>
|
||||
Reference in New Issue
Block a user