Hide or disable pager links

Is there an attribute / setting to hide pager links that should be disabled or hidden?

For example, if you have:

Prev, 1, 2, 3, Next

“Prev” should be disabled / hidden if you’re on the first page

I can do this via CSS, but wondering if there’s already a built-in attribute/setting to do this? Maybe make the links still display, but don’t make them active links?

You can find some useful information in this post: http://www.yiiframework.com/forum/index.php?/topic/5776-customise-the-clinkpager/


I don’t know if you are still looking for this solution.

I hope there are no built-in setting to do this. In this case, I hope it is best that you extend the CLinkpager class.

It is super easy, just see my post here.