Ralf Becker
3dd7cc746f
remove hooks of apps, when deleting them (event if sources are no longer there)
2010-09-15 20:09:05 +00:00
Klaus Leithoff
9851b5cd46
handle warning on install
2010-05-03 08:19:32 +00:00
Ralf Becker
49d444e3c9
fixed problem if $order is given as string, supporting it now again
2010-01-24 01:31:06 +00:00
Ralf Becker
0e405049b3
A few improvments with hooks:
...
- register_all_hooks deletes now hooks of no longer existing apps
- hooks get instanciated directly with egw object, to cache the hooks
read from the DB (and not read it again on each request)
- hooks get now stored by location, so no need anymore too loop for each
hooks::process() call to all apps to find applying hooks
- hooks::process($location,$order,$no_permission_check) no longer
defaults automatically puts current app in $order, if $order is not
given, without $order hooks are executed in application order!
2010-01-21 23:31:28 +00:00
Ralf Becker
1754508ce9
"let new method hooks fail gracefully if hook class-file does not exists (like the old hooks do, eg. if app got removed)"
2009-11-16 09:42:53 +00:00
Ralf Becker
ec5d0cb0c5
"fixed hook signature to always be an array (even if user code only supplys a location-string)"
2009-10-20 07:11:58 +00:00
Ralf Becker
b32ded3400
"re-added (depricated) php4 constructor, as it get's called by some old apps"
2009-05-26 17:26:24 +00:00
Ralf Becker
07825af683
"fixed not always executed hooks for disabled applications (using app-names from existing hooks now, instead of egw_info[apps])"
2009-05-26 11:55:52 +00:00
Ralf Becker
4ecce4f5ae
allow all php callables (eg. "class::method" for static calls) for ExecMethod, ExecMethod2 and as methodstring for hooks
2008-04-25 18:54:06 +00:00
Ralf Becker
ec042e0f4d
"using the global db object"
2008-03-15 15:00:15 +00:00
Ralf Becker
8a06c230c4
modernized and documented the hooks-class, phpgw_hooks --> egw_hooks
2005-11-13 06:58:38 +00:00
Miles Lott
ca8cf03ff2
Update for egw arrays
2005-07-23 11:39:20 +00:00
Ralf Becker
ccb4700624
removed unnecessary ';' in query in register_hooks, MaxDB treats them as SQL-errors
2004-08-04 10:30:47 +00:00
reinerj
48f840d7de
move from old projct to new one
2004-05-05 12:06:13 +00:00
Miles Lott
8c301efe44
Fix error for Bug #887735 , although there must be another problem
2004-02-03 06:06:54 +00:00
shrykedude
a4a77a34c0
typo fix
2003-11-19 15:16:37 +00:00
Ralf Becker
b8557e49d9
make the phpgw Version-0_9_16-branch HEAD
2003-08-28 14:31:11 +00:00
Ralf Becker
cef302db7b
Fix for methode-hooks with no return-value
2003-05-24 14:25:13 +00:00
Ralf Becker
2c59c61f0d
added param try_unregistered to hooks::single for setup
2003-04-28 08:24:45 +00:00
Ralf Becker
4e1cd7d1f5
new type of hooks via methodes instead of separate files:
...
- allows to parse arguments ot the hook and return content
- all access to the hook-table is now handled by the hook-class (for admin and setup too)
- all existing hooks continue to work of cause
2003-04-27 22:26:04 +00:00
ceb
c71c14dc96
added funkwerk layout
2002-11-15 05:15:39 +00:00
Miles Lott
13cc3694e7
rework function to remove php3 error - need to test on php4 again
2002-02-16 14:30:40 +00:00
Miles Lott
3ea803c565
Add single_tpl() - allows an included file to return a value instead of echo, etc.
2002-02-10 19:34:11 +00:00
Miles Lott
9e110669d7
formatting
2002-02-10 12:17:19 +00:00
seek3r
32306abaf6
some additional performance improvements, including a switch to the hooks class which I finished up
2002-01-02 14:33:05 +00:00
Miles Lott
d2fa0405b6
formatting
2001-12-24 04:55:24 +00:00
Miles Lott
cc3247e481
formatting
2001-09-23 19:23:49 +00:00
seek3r
c9ea092eae
added php3 support file
2001-08-16 06:32:22 +00:00
skeeter
dc7578a39a
Various cleanups. Trying to remove some warnings when generating php errors to a file.
2001-05-14 03:54:40 +00:00
Miles Lott
e7f38fb001
Formatting
2001-05-06 13:40:04 +00:00
themaniac
82decf9cc9
start on inline documentation
2001-03-13 18:30:21 +00:00
seek3r
4e3e6c77cb
fixed banners so that they are all uniform and complete
2001-01-16 13:52:32 +00:00
seek3r
fba1a92446
Put in new license details
2001-01-13 10:18:50 +00:00
seek3r
e97ef24062
switching to the new Object factory method
2001-01-11 09:52:33 +00:00