extension/ezjscore/classes/ezjscajaxcontent.php
public static function textEncode( $mix )
    {
        if ( is_array( $mix ) )
            return implode(',', array_map( array('ezjscAjaxContent', 'textEncode'), array_filter( $mix ) ) );

        return htmlspecialchars( $mix );
    }
public static function textEncode( $mix )
    {
        if ( is_array( $mix ) )
            return implode(',', array_map( array('ezjscAjaxContent', 'textEncode'), array_filter( $mix ) ) );

        return htmlspecialchars( $mix );
    }
public static function textEncode ( $ mix ) { if ( is_array ( $ mix ) ) return implode ( ',' , array_map ( array ( 'ezjscAjaxContent' , 'textEncode' ) , array_filter ( $ mix ) ) ) ; return htmlspecialchars ( $ mix ) ; }
Encodes mixed value to string or comma seperated list of strings

@param mixed $mix
@return string
Encodes mixed value to string or comma seperated list of strings