styleroom
(Styleroom)
January 22, 2013, 7:47am
1
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?
fouss
(Jsfousseni)
January 22, 2013, 11:25am
2
styleroom:
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
fouss
(Jsfousseni)
January 22, 2013, 1:35pm
4
styleroom:
fine! thanks! it worked!
happy that it helped you!