title: How to Limit the paginate in cakephp
body: <p>How to Limit the paginate in cakephp ? </p>
  
  <p>Assume that i have 400 records.<br>
  I need to get only 25 records from 50th record to 75th record
  and need to display 5 records per page.<br>
  How i can do this in paginate ?</p>
  
  <p>Sample Code:</p>
  
  <pre><code>        $this-&gt;paginate = array(
                  'contain'=&gt;array('User'),
                  'recursive' =&gt; 2,
                  'order' =&gt; array('Profile.winning' =&gt; 'DESC'),
                  'limit' =&gt;5
  
              );
  </code></pre>