title: How to make the php codeIgniter active record group?
body: <p>First, I have something in my model:</p>
  
  <pre><code>    $this-&gt;db-&gt;where('status', $aStatus);     
      $this-&gt;db-&gt;limit($aLimit, $aOffset);   
  
      $this-&gt;db-&gt;or_like('title', $aString);    
      $this-&gt;db-&gt;or_like('description', $aString);    
  
      $this-&gt;db-&gt;select('id,description,title,fee');
  
      $query = $this-&gt;db-&gt;get($this-&gt;table_name); 
  </code></pre>
  
  <p>And I got this query:</p>
  
  <blockquote>
    <p>SELECT <code>id</code>, <code>description</code>,<code>title</code>, <code>fee</code> FROM (<code>events</code>) WHERE
    <code>status</code> =  0 AND  <code>title</code>  LIKE '%space%' OR  <code>description</code>  LIKE
    '%space%' LIMIT 5</p>
  </blockquote>
  
  <p>But I would like to let it generate this query instead</p>
  
  <blockquote>
    <p>SELECT <code>id</code>, <code>description</code>,<code>title</code>, <code>fee</code> FROM (<code>events</code>) WHERE
    <code>status</code> =  0 AND  <strong><em>(</em></strong><code>title</code>  LIKE '%space%' OR  <code>description</code>  LIKE
    '%space%'<strong><em>)</em></strong> LIMIT 5</p>
  </blockquote>
  
  <p>How can I modify to do so? Thank you. </p>