6.0.0-beta1
7/4/25
Last Modified 11/3/19 by Guest
  • Backlinks
  • Similar Pages
  • Attachments
  • History
  • Back to
Table of Contents

A short-hand reference of common Horde idioms to get things done.

Mostly useful to those who have recurring intermissions in their horde development.

Classic UI: Reference an image from Theme

Horde::img('image.png', 'Alt Text');
// The Image will be searched in the themes folders, precedence: current app, selected theme - current app, default theme - horde, current theme - horde, default theme

Locations

App Icon Url

$GLOBALS['registry']->get('icon', $app);

App Web Root Url

$GLOBALS['registry']->get('webroot', $app);

App's Javascript Url

$GLOBALS['registry']->applications[$app]['jsuri'];

Note: This is most likely not what you want. Use the template & js loading mechanism instead


Back to the Project List