bsimser / ezrpg

A modular text based web game engine written in PHP
MIT License
1 stars 1 forks source link

Hooks with multiple arguments #11

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 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 9 years ago
This issue was closed by revision 9ead20c0a2.

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