/** * Return the query as a string. * * @return string The query in string format. * * @throws Horde_Kolab_Server_Exception If the query is malformed. */ public function __toString() { try { $filter = $this->_criteria->convert($this); return (string) $filter; } catch (Horde_Kolab_Server_Exception $e) { return ''; } }
/** * Convert this element to a string. * * @return string The query string of the element. */ public function convert(Horde_Kolab_Server_Query_Interface $writer) { return $this->_element->convert($writer); }