Commit Graph

14 Commits

Author SHA1 Message Date
Uwe Steinmann
7b1835774d Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2019-12-15 08:03:36 +01:00
Uwe Steinmann
167c8a41e3 allow 4 arguments passed to hook 2019-12-13 14:27:58 +01:00
Uwe Steinmann
7362bf192b add method check_access()
just like in SeedDMS_View_Common
2019-11-08 08:03:02 +01:00
Uwe Steinmann
a02afe4e64 run hook preRun, postRun before and after controller, check for hooks of parent class 2019-08-08 09:07:38 +02:00
Uwe Steinmann
c3ca1cb1f9 save result of last hook into class variable 2019-01-11 15:07:20 +01:00
Uwe Steinmann
883131d61e add method setErrorMsg() 2017-06-09 12:27:26 +02:00
Uwe Steinmann
19aa2b5e45 add __invoke() method 2017-05-12 08:15:26 +02:00
Uwe Steinmann
7c7dfc1411 handle hooks with two arguments 2017-05-02 18:28:56 +02:00
Uwe Steinmann
e85673cd5c take over return value from hook in callHook() if it is !== null 2016-11-22 09:21:12 +01:00
Uwe Steinmann
ffe2192376 add errormsg 2015-04-15 16:11:45 +02:00
Uwe Steinmann
1f8af132d0 add methods getParam() and hasParam() 2015-01-08 08:12:11 +01:00
Uwe Steinmann
c1b216bf51 running controller can set an error number
getErrorNr() retrieves this number
2014-12-08 14:36:26 +01:00
Uwe Steinmann
69aa7db50b callHook() can handle function parameters passed to the hook 2014-01-10 07:52:53 +01:00
Uwe Steinmann
5ee03ef693 very simple controller pattern
basically used for adding hooks in op/op.* files
2013-07-21 11:47:49 +02:00