code/libraries/joomlatools/library/database/query/select.php
public function where($condition, $combination = 'AND')
    {
        $this->where[] = array(
            'condition'   => $condition,
            'combination' => count($this->where) ? $combination : ''
        );

        return $this;
    }
public function where($condition, $combination = 'AND')
    {
        $this->where[] = array(
            'condition'   => $condition,
            'combination' => count($this->where) ? $combination : ''
        );

        return $this;
    }
public function where ( $ condition , $ combination = 'AND' ) { $ this -> where [ ] = array ( 'condition' => $ condition , 'combination' => count ( $ this -> where ) ? $ combination : '' ) ; return $ this ; }
Build the where clause

@param   string $condition   The where condition statement
@param   string $combination The where combination, defaults to 'AND'
@return  $this
Build the where clause