mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-29 16:54:04 +02:00
IdoQuery: Allow to check whether joining custom vars is permitted
refs #9029
This commit is contained in:
parent
ca4789f114
commit
71fba8f7df
@ -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
|
||||
*
|
||||
|
Loading…
x
Reference in New Issue
Block a user