Pager customization trouble....with include CLinkPager.php

Hello, I was following this post to extend pager.

In config/main.php

I added




	'import'=>array(

		'application.models.*',

		'application.components.*',

		'ext.LearnLinkPager',

	),



In extensions folder,

I have a class called LearnLinkPager with the following

class LearnLinkPager extends CLinkPger

I was just trying to see if I can simply override it.

I was calling it from index page




$this->widget('zii.widgets.CListView', array(

	'dataProvider'=>$dataProvider,

	'itemView'=>'_view',

	'template'=>"{items}\n{pager}",

	'pager' => array(

			'class'=>'ext.LearnLinkPager',

	)

));



Then, I get the following error.

PHP Error

include(CLinkPger.php) [<a href=‘function.include’>function.include</a>]: failed to open stream: No such file or directory

Here’s the stack trace

Do you have any idea why my LearnLinkPager can’t find or load CLinkPager?

Thanks for your tip in advance…

Does anybody have any thought on this?

Do I missing import statement or something?

Please share your insight with me.

Thanks for your help.

Told you already but I answer here too :)

You have a mistype:

unknown(0): YiiBase::autoload("CLinkPger") <— is actually CLinkPager