Create My Own Library

Hello everybody!

I want to create your own library of methods in a class, to be used in the controller

Where I have to save this class and then how to include to the controllers?

Is it possible to automatically load my own classes from a specific directory?

Everything you said above is possible with yii … you can create for example you class in protected/companent folter and use anywhere in you application

fine! thanks! it worked!

happy that it helped you!