From 71fba8f7df277068fc52c330e712b7787e920c28 Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Fri, 14 Aug 2015 10:05:09 +0200 Subject: [PATCH] IdoQuery: Allow to check whether joining custom vars is permitted refs #9029 --- .../library/Monitoring/Backend/Ido/Query/IdoQuery.php | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/modules/monitoring/library/Monitoring/Backend/Ido/Query/IdoQuery.php b/modules/monitoring/library/Monitoring/Backend/Ido/Query/IdoQuery.php index de89d23bb..0c7276a68 100644 --- a/modules/monitoring/library/Monitoring/Backend/Ido/Query/IdoQuery.php +++ b/modules/monitoring/library/Monitoring/Backend/Ido/Query/IdoQuery.php @@ -795,6 +795,16 @@ abstract class IdoQuery extends DbQuery return isset($this->idxAliasTable[$alias]) ? $this->idxAliasTable[$alias] : null; } + /** + * Return whether this query allows to join custom variables + * + * @return bool + */ + public function allowsCustomVars() + { + return $this->allowCustomVars; + } + /** * Return true if the given alias denotes a custom variable *