Horde_Ldap_Filter::__toString PHP Method

__toString() public method

This method runs through all filter objects and creates the string representation of the filter.
public __toString ( ) : string
return string
    public function __toString()
    {
        if (!count($this->_filters)) {
            return $this->_filter;
        }
        $return = '';
        foreach ($this->_filters as $filter) {
            $return .= (string) $filter;
        }
        return '(' . $this->_operator . $return . ')';
    }