Software Hosting and Development Services available at PKP Publishing Services
As the developers of Open Journal Systems, Open Conference Systems, Open Harvester Systems, and Open Monograph Press, the PKP team are experts in helping journal managers and conference organizers make the most of their online publishing projects. PKP Publishing Services offers support for:
As a customer of PKP Publishing Services, you will not only receive direct, personalized support from the PKP Development Team, but will be contributing to the ongoing development of the PKP applications. All funds raised by PKP Publishing Services go directly toward enhancing our free, open source software. For more information, please contact us.
OJS development discussion, enhancement requests, third-party patches and plug-ins.
Moderators: jmacgreg, michael, jheckman, barbarah, btbell, bdgregg, asmecher
Forum rules
Developer Resources:Documentation: The
OJS Technical Reference and the OJS
API Reference are both available from the
OJS Documentation page.
Git: You can access our public Git Repository
here. Comprehensive Git usage instructions are available on the
wiki.
Bugzilla: You can access our Bugzilla report tracker
here.
Search: You can use our
Google Custom Search to search across our main website, the support forum, and Bugzilla.
Questions and discussion are welcome, but if you have a workflow or usability question you should probably post to the
OJS Editorial Support and Discussion subforum; if you have a technical support question, try the
OJS Technical Support subforum.
by rmichael » Mon Aug 04, 2008 2:28 am
Is is possible to query OJS for all known hook names, including the dynamic hooks (for example, those created for children by parents as in DAO class)?
I could do this statically, by parsing the source with a system command, but it would be hard to catch the above dynamic hooks. For example, HookRegistry::getAllKnownHooks(), similar to HookRegistry::getHooks() (which should maybe then be "getRegisteredHooks()").
I would like my plugin to present a drop-down list of hooks to the user.
Thanks!
Regards,
Richard
-
rmichael
-
- Posts: 113
- Joined: Fri Mar 30, 2007 3:32 pm
-
by asmecher » Thu Aug 07, 2008 11:45 pm
Hi Richard,
There's no way to do this at the moment -- what you might consider doing is logging all hooks called (e.g. by modifying the HookRegistry::call function) for a while, using OJS representatively, and building a list that way.
Regards,
Alec Smecher
Public Knowledge Project Team
-
asmecher
-
- Posts: 5760
- Joined: Wed Aug 10, 2005 12:56 pm
-
Return to OJS Development
Who is online
Users browsing this forum: No registered users and 3 guests