PMF_Ldap::quote PHP 메소드

quote() 공개 메소드

Quotes LDAP strings in accordance with the RFC 2254
public quote ( string $string ) : string
$string string
리턴 string
    public function quote($string)
    {
        return str_replace(array('\\', ' ', '*', '(', ')'), array('\\5c', '\\20', '\\2a', '\\28', '\\29'), $string);
    }