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 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
|
* Return true if the given alias denotes a custom variable
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in New Issue