OpenTokens™: %HOOK()%
Return to Introduction  Previous page  Next page

%HOOK()% tokens are used to replaced or duplicate hook points from the OpenUI. In other words, they allow you to call the 3rd party modules that would normally be called at the specified hook point.

%HOOK(smod_id|ext_id)%  
 
Example: To call any modules that are hooked into sub-module 17, hook point 35, you would use %HOOK(17|35)%  

Warning!
Modules that hook in at a specific hook point are expecting to normally be called at the normal point of the OpenUI and NOT just anywhere. As a result, adding %HOOK()% tokens for modules MAY or MAY NOT work correctly as expected. Extreme care should be taken, and you may want to consult the module developer for help.

 


Send feedback on this documentation.
© 2004 - 2000 Darren Ehlers & OpenUI Developer Consortium