Commit Graph

20 Commits

Author SHA1 Message Date
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