I want to be able to store custom plugins in the library folder of my application (currently I am storing them in the Zend library itself). Is there a way of providing additional plugin directories in the application.ini file?
Share
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.
I figured this one out:
Create a folder in:
(where PREFIX is the class prefix for your plugin, and it’s root directory)
In the application.ini file – add:
add this line to register the plugin with the Front Controller
If you need/want to organise your plugin folders – use the Zend underscore = directories naming convention – so this:
would refer to a class called:
in a file called: “PluginName.php”
in directory:
Hope that helps anyone who needs to ask this question