Horde_Ldap::quote PHP 메소드

quote() 공개 정적인 메소드

Escapes characters with special meaning in LDAP searches.
public static quote ( string $clause ) : string
$clause string The string to escape.
리턴 string The escaped string.
    public static function quote($clause)
    {
        return str_replace(array('\\', '(', ')', '*', ""), array('\\5c', '\\(', '\\)', '\\*', "\\00"), $clause);
    }