Subversion-Projekte lars-tiefland.laravel_shop

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
115 lars 1
<?php
2
    /**
3
     * Smarty plugin
4
     * @package Smarty
5
     * @subpackage plugins
6
     */
7
 
8
 
9
    /**
10
     * Smarty escape modifier plugin
11
     *
12
     * Type:     modifier<br>
13
     * Name:     str2url<br>
14
     * Purpose:  replace some charactes (e. g. deutsche Umlaute) with others, so that URLs do
15
     *          NOT contain illegal characters
16
     * @link http://smarty.php.net/manual/en/language.modifier.str2url.php
17
     *          str2url (Smarty online manual)
18
     * @author   Lars Tiefland <tiefland at weban dot de>
19
     * @param string
20
     * @return string
21
     */
22
    function smarty_modifier_str2url( $txt )
23
    {
24
        return str2url( $txt );
25
    }
26
 
27
    /* vim: set expandtab: */
28
?>