Advertisement
Guest User

Untitled

a guest
Feb 2nd, 2014
159
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.41 KB | None
  1. <?php
  2. $gridView = $this->widget('zii.widgets.grid.CGridView', array(
  3.     'dataProvider'=>$dataProvider,
  4.     'ajaxUpdate'=>true,
  5.     'template'=>'{items}',
  6.     'columns'=>array(
  7.     //......
  8.     ),
  9. ));
  10.  
  11. $this->beginClip('pager');
  12.      $gridView->renderPager();
  13. $this->endClip();
  14.  
  15. echo '<div class="footer bg-white b-t">';
  16. if(isset($this->clips['pager'])){
  17.      echo $this->clips['pager'];
  18. }
  19. echo '</div>';
Advertisement
RAW Paste Data Copied
Advertisement