IdoQuery: Allow to check whether joining custom vars is permitted

refs #9029
This commit is contained in:
Johannes Meyer 2015-08-14 10:05:09 +02:00
parent ca4789f114
commit 71fba8f7df
1 changed files with 10 additions and 0 deletions

View File

@ -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
*