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
The Public Knowledge Project Support Forum is moving to http://forum.pkp.sfu.ca

This forum will be maintained permanently as an archived historical resource, but all new questions should be added to the new forum. Questions will no longer be monitored on this old forum after March 30, 2015.

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