guest [95.90.223.65]  Sun, 03 Nov 2019 07:44:57 +0000

Modified page: https://wiki.horde.org/Doc/Dev/CheatSheet
New Revision:  3
Change log:  Add various registry shortcuts

@@ -7,8 +7,24 @@
 ++ 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
+
+$registry->applications['timetool']['jsuri'];
+
+Note: This is most likely not what you want. Use the template & js loading mechanism instead



 ----

--
commits mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: [email protected]

Reply via email to