"ae", "Ö" => "oe", "Ü" => "ue", "ä" => "ae", "ö" => "oe", "ü" => "ue", "ß"=>"ss"]); } } if (! function_exists('get_active_badge')) { function get_active_badge($active, $tooltip = false, $pos = "top") { if($tooltip){ $tooltip = 'data-toggle="tooltip" data-placement="top" data-original-title="'.$tooltip.'"'; } return $active ? '' : ''; } } if (! function_exists('get_switcher_input')) { function get_switcher_input($active = false, $name = "", $label = "") { return ''; } } if (! function_exists('get_file_last_time')) { function get_file_last_time($value) { if (file_exists($value)) { return filemtime($value); } return date("Ymd-i", time()); } } if (! function_exists('my_count')) { function my_count($value) { if ($value && is_array($value)) { return count($value); } return 0; } }