DrSterling / ezrpg

Automatically exported from code.google.com/p/ezrpg
GNU General Public License v3.0
0 stars 0 forks source link

Hooks with multiple arguments #11

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Change the run_hooks function to be able to run hooks with any number of 
arguments.

For example, the following two lines should be able to run without problems:
$hooks->run_hook('test_hook', $parameter, $var2, $var4);
$hooks->run_hook('player');

Original issue reported on code.google.com by zeg...@gmail.com on 17 Mar 2010 at 1:40

GoogleCodeExporter commented 8 years ago
This issue was closed by revision 9ead20c0a2.

Original comment by zeg...@gmail.com on 17 Mar 2010 at 7:18