Exemplo n.º 1
0
function xoops_trim($text)
{
    if (function_exists('xoops_language_trim')) {
        return xoops_language_trim($text);
    }
    return trim($text);
}
Exemplo n.º 2
0
 /**
  * Trims certain text
  *
  * @param	string	$text	The Text to trim
  * @return	string	$text	The trimmed text
  */
 public static function icms_trim($text)
 {
     if (function_exists('xoops_language_trim')) {
         return xoops_language_trim($text);
     }
     return trim($text);
 }