Commit Graph

36 Commits

Author SHA1 Message Date
Uwe Steinmann
6fccfd1d18 use _httpRoot for imagepath 2021-07-05 16:29:30 +02:00
Uwe Steinmann
ffdc648292 use same way to check for hooks in hasHook() and callHook() 2021-04-23 09:56:25 +02:00
Uwe Steinmann
3d15736772 read property viewAliasName 2021-04-23 06:55:10 +02:00
Uwe Steinmann
c4d00fb650 add method getTheme() 2021-01-13 09:05:19 +01:00
Uwe Steinmann
a3be420b88 use class_parents() instead of get_class_parent() 2020-12-15 20:20:37 +01:00
Uwe Steinmann
2e25da5719 add method hasParam() 2020-05-12 12:02:03 +02:00
Uwe Steinmann
dcfefa5801 remove cloѕing php tag 2020-04-20 10:18:51 +02:00
Uwe Steinmann
31697278d1 check for hook attached to parent class in hasHook() 2019-10-01 14:06:00 +02:00
Uwe Steinmann
67f4ca35ee run hook preRun and postRun before and after the view 2019-08-08 09:11:47 +02:00
Uwe Steinmann
869a82d4a8 better handling of return values of hooks 2019-01-17 18:30:10 +01:00
Uwe Steinmann
3eebc6bc28 run passed parameter 'action' through htmlspecialchars() before output 2018-06-27 18:56:01 +02:00
Uwe Steinmann
97d08ef1b4 call parent class in class.Bootstrap.php, move imgpath in parent 2018-04-06 08:31:11 +02:00
Uwe Steinmann
01cd47401c more documentation on return value of callHook 2017-06-20 09:13:24 +02:00
Uwe Steinmann
ed531dc35d fix inclusion of file 2017-06-19 11:08:06 +02:00
Uwe Steinmann
7d6fd23c6d check if return value of hook is != null 2017-06-13 14:47:16 +02:00
Uwe Steinmann
4b89d920cb check if returned array is not empty 2017-06-09 15:13:15 +02:00
Uwe Steinmann
9ab19afe03 check return value of hook
no return value will be discarded, array and objects are put into an array, strings are concatened
2017-05-02 18:29:47 +02:00
Uwe Steinmann
ed0e13ea0b hook can receive up to 4 parameters 2017-01-17 17:41:52 +01:00
Uwe Steinmann
91e57e49da Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-03-08 10:42:21 +01:00
Uwe Steinmann
969fa2569b add method jsTranslations() 2016-03-08 10:37:07 +01:00
Uwe Steinmann
78b39a24c5 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2015-08-25 14:58:35 +02:00
Uwe Steinmann
eca7d067c5 add getParam() 2015-08-25 14:58:16 +02:00
Uwe Steinmann
6e80f025cf Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2015-08-20 15:55:53 +02:00
Uwe Steinmann
80f0499d1b add method __invoke()
calls the function whose name is passed as $_GET['action']
2015-08-20 15:53:30 +02:00
Uwe Steinmann
1727387ac5 add method getHookObjects() 2015-07-15 22:30:03 +02:00
Uwe Steinmann
c7ad9433a1 return value of hook will be passed on even if not a string 2015-04-27 08:28:01 +02:00
Uwe Steinmann
8c12e7c27e add some fold marks, new method hasHook() 2014-01-10 07:56:19 +01:00
Uwe Steinmann
332d6b7b6c allow to call multiple hooks
the first hook does not return the callHook function
2013-09-03 22:07:16 +02:00
Uwe Steinmann
1451659ba2 pass up to 2 parameters when calling hook 2013-07-31 17:28:02 +02:00
Uwe Steinmann
25a6bf8f72 view hooks are now in $GLOBALS['SEEDDMS_HOOKS']['view'] 2013-07-21 11:52:58 +02:00
Uwe Steinmann
2979fc9648 Merge branch 'develop' into hooks
Conflicts:
	views/bootstrap/class.ViewFolder.php
2013-07-19 23:14:29 +02:00
Uwe Steinmann
aafec75e76 add method unsetParam() 2013-06-18 18:14:14 +02:00
Uwe Steinmann
50e41be376 add method callHook()
this method is ment to be called from the view classes. It checks
for a hook set up for the current view.
2013-05-02 12:12:28 +02:00
Uwe Steinmann
a4be140775 remove empty line 2013-04-18 22:19:19 +02:00
Uwe Steinmann
73c6ff9427 major name change from letodms to seeddms 2013-02-14 12:10:53 +01:00
steinm
09bd71f480 - added missing files 2013-01-11 16:55:34 +00:00