Location: PHPKode > projects > Batavi > batavi/ext/smarty/plugin/modifier.chop.php
<?php

/**
 * file modifier.chop.php
 *
 * Reverse modifier implementation
 *
 * @copyright Copyright (c) 2009, ICEshop BV
 *
 * @package classes
 */

 /**
 * Smarty chop modifier plugin
 *
 * @param array
 * @return array
 */

 function smarty_modifier_chop($string) {
    return substr($string, 0, strlen($string) - 1);
 }

?>
Return current item: Batavi