You are viewing the PKP Support Forum | PKP Home Wiki

plugin, registry and smarty code

OJS development discussion, enhancement requests, third-party patches and plug-ins.

Moderators: jmacgreg, btbell, michael, bdgregg, barbarah, 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.

plugin, registry and smarty code

Postby MarieNyst » Thu Dec 06, 2012 8:44 am


I try to make a plugin to control keywords that authors and reviewers can use.
I'm working on it since some times, to understand how the system works, but some details are confusing me. Explanations would be usefull.

Were do the function Registry::getRegistry(string) take the informations ?
Same question for DAORegistry::getDAO(string).

When I add an entry to the array _data in my pluginForm class, a smarty var is created. How does it work ? How are php and smarty linked ? Can I call from my smarty code a function of my pluginForm class ?

About hooks :
the hook list in documentation seems to be the one of v2.1.
I don't know where to find a complete list, but I've seen plugins using hooks that are not in this list. Is there an up to date information about this ?

Posts: 24
Joined: Thu Nov 29, 2012 9:35 pm

Return to OJS Development

Who is online

Users browsing this forum: No registered users and 1 guest