Helma logo
helma.org » Home > Stories > HopObject.onRequest()

HopObject.onRequest()

If defined, the onRequest() function is called on the object specified by the request path just before the action is invoked.

This is useful for performing some code before each and every action in every prototype (when defining the function for the hopobject prototype) or for each action in one prototype. Often, it is used for checking access permissions.


... comment


Page last modified on 2003-09-06 11:07 by hns