src/Adldap.php
public function getPersonFilter($key = null)
    {
        if ($key == 'category') {
            return $this->personFilter['category'];
        }

        if ($key == 'person') {
            return $this->personFilter['person'];
        }

        return implode('=', $this->personFilter);
    }
public function getPersonFilter($key = null)
    {
        if ($key == 'category') {
            return $this->personFilter['category'];
        }

        if ($key == 'person') {
            return $this->personFilter['person'];
        }

        return implode('=', $this->personFilter);
    }
public function getPersonFilter ( $ key = null ) { if ( $ key == 'category' ) { return $ this -> personFilter [ 'category' ] ; } if ( $ key == 'person' ) { return $ this -> personFilter [ 'person' ] ; } return implode ( '=' , $ this -> personFilter ) ; }
Get the person search filter.
An optional parameter may be used to specify the desired part.
Without a parameter, returns an imploded string of the form "category=person".

@param string $key

@return string
Get the person search filter . An optional parameter may be used to specify the desired part . Without a parameter returns an imploded string of the form category = person .