AdvancedReport::getConditions
Generate a WHERE clause based on the input the user provided.
Assumes the user has provided some values for the $this->ConditionFields etc. Converts everything to an array that is run through the dbQuote() util method that handles all the escaping
Signature
public function getConditions([array
$defaults = ,
[boolean
$withOperands = false]] )
Parameters
$defaults
— array
Some hardcoded default conditions applied$withOperands
— boolean
Whether the return should be as SQL operands instead of ORM filters
Returns
- array