Supposing I have a StringerHelper(Component|Helper|Behaviour).php class with a method for random strings.
I might need to use this in controllers, models and views.
How can I load it wherever I need to ?
Thank you!
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You would make it a lib and put it in
app/Lib. If its simply helper methods, make the methods static.For 2.x
For 1.x the naming is a bit different
Usage: