public function whereGroup($conditions, $logic = 'AND')
    {
        $whereGroup = $this->_append('Where_Group', $conditions, $logic);
        if ($group = $whereGroup->__toString()) {
            $this->where('(' . $group . ')', null, $logic);
        }

        return $this;
    }
public function whereGroup($conditions, $logic = 'AND')
    {
        $whereGroup = $this->_append('Where_Group', $conditions, $logic);
        if ($group = $whereGroup->__toString()) {
            $this->where('(' . $group . ')', null, $logic);
        }

        return $this;
    }
public function whereGroup ( $ conditions , $ logic = 'AND' ) { $ whereGroup = $ this -> _append ( 'Where_Group' , $ conditions , $ logic ) ; if ( $ group = $ whereGroup -> __toString ( ) ) { $ this -> where ( '(' . $ group . ')' , null , $ logic ) ; } return $ this ; }
Where conditions group
@param array  $conditions
@param string $logic
@return $this
Where conditions group