MysqliDb::joinOrWhere PHP Method

joinOrWhere() public method

This method allows you to specify multiple (method chaining optional) OR WHERE statements for the join table on part of the SQL query.
public joinOrWhere ( string $whereJoin, string $whereProp, mixed $whereValue = 'DBNULL', $operator = '=', $cond = 'AND' ) : dbWrapper
$whereJoin string The name of the table followed by its prefix.
$whereProp string The name of the database field.
$whereValue mixed The value of the database field.
return dbWrapper
    public function joinOrWhere($whereJoin, $whereProp, $whereValue = 'DBNULL', $operator = '=', $cond = 'AND')
    {
        return $this->joinWhere($whereJoin, $whereProp, $whereValue, $operator, 'OR');
    }