Actually there are both, because i want that CLinkPager shows select for size of the page, and CPagination take it into account, like it do with page number. I saw some examples for it in controllers, but i think this is not right because usually if you need it, you need it not only in one table. Also i saw some widget, but i don’t like it too, because i need to write a lot=). I want just change classes, and add some settings =) I already do it, but i need to write
$pagination = new Pagination();
//HERE SETTINGS FOR IT
$dataProvider->setPagination($paginationd);
//but i just want
new DataProvider('SOME_MODEL',array(
'pagination'=>array(
'class'=>'Pagination',
//settings
)
));
And as i understand for it i need to extend dataprovider.