Commit Graph

9 Commits

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