return true;
}
- /**
- * Determines if the given result is a PEAR error. If it is, logs the event
- * and throws an exception.
- *
- * @param mixed $result The result to check.
- *
- * @throws Horde_Exception
- */
- protected function handleError($result)
- {
- if ($result instanceof PEAR_Error) {
- Horde::logMessage($result, 'ERR');
- throw new Kronolith_Exception($result);
- }
- }
-
}
* did not receive this file, see http://www.fsf.org/copyleft/gpl.html.
*
* @author Michael J. Rubinsky <mrubinsk@horde.org>
- *
* @package Kronolith
*/
class Kronolith_Geo_Mysql extends Kronolith_Geo_Sql
{
- // Roughly 69 miles per distance unit
+ /**
+ * Conversion factor needed by search functions
+ * Roughly 69 miles per distance unit
+ *
+ * @var integer
+ */
private $_conversionFactor = 69;
/**