Skip to content

amelexik/yii-more-pager

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

More Pager

Pager to load pages at a time, one after the other.

Usage

$this->widget('zii.widgets.CListView', array(
	'dataProvider' => $dataProvider,
	'itemView' => '_item',
	'id' => 'list-id',
	'pager' => array(
		'class' => 'ext.more-pager.MorePager',
		// Button label
		'label' => Yii::t('app', 'read more'),
		// HTML tag options
		'options' => array(
			'class' => 'button',
		),
		// Prepend loaded items or append if false
		// Defaults to false.
		'prepend' => true,
	),
));

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%