From d5ae13541553000a8501ac0b19e50bd2f3e9b19a Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Fri, 19 Jun 2015 14:05:12 +0200 Subject: [PATCH] DbQuery: Add select() method to access self::$select publicly --- library/Icinga/Data/Db/DbQuery.php | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/library/Icinga/Data/Db/DbQuery.php b/library/Icinga/Data/Db/DbQuery.php index c6809ea61..d25058235 100644 --- a/library/Icinga/Data/Db/DbQuery.php +++ b/library/Icinga/Data/Db/DbQuery.php @@ -125,6 +125,16 @@ class DbQuery extends SimpleQuery return clone $this->select; } + /** + * Return the underlying select + * + * @return Zend_Db_Select + */ + public function select() + { + return $this->select; + } + /** * Get the select query *