public static function encodeOperators(
        $str)
    {
        if (self::$_translations === null) {
            self::_buildTranslations();
        }

        return strtr($str, self::$_translations['encode']);
    }
public static function encodeOperators(
        $str)
    {
        if (self::$_translations === null) {
            self::_buildTranslations();
        }

        return strtr($str, self::$_translations['encode']);
    }
public static function encodeOperators ( $ str ) { if ( self :: $ _translations === null ) { self :: _buildTranslations ( ) ; } return strtr ( $ str , self :: $ _translations [ 'encode' ] ) ; }
Encode special operators.

@param string $str Input string.

@return string Output string.
Encode special operators .