How To Use Extenstions

Can some please help me to understand that how extensions work in yii and how to use them

I want to make my own extensions at local machine so that i can support to Yii latter

As i found out it, you should make php file which contain your extension class in and name and put it in the /protected/extensions/ folder and in the config/ import it.

just this…::)

you can see some extensions and their importing from

Thanks for your reply i got the idea behind extensions i think these just work like object of classes whenever we need we should create object and then use it .

any other idea would be appreciated.

That’s ok. but That object is just as an extera object which help you to optimize, faster or … for your application by framework.

and maybe some features that framework do not provide for your application.