Hi,
I started to evaluate SignalSlot for inclusion in an eZP module to handle the
user registration process. The process should be pluggable, so that you can
release arbitrary actions on every registration step.
For the system I need the possibility to return values from slots or to abort
the slot execution. Both could be achieved with a little addition to the emit
method:
instead of
call_user_func_array( $callback, $parameters );
in lines 294, 301, ... one could write
$return = NULL;
....
$return = call_user_func_array( $callback, $parameters );
if( NULL !== $return ) return $return;
I also tried to send variables as references to the slots, but func_get_args
returns only copies of the parameters. Does anybody knows, if this is
intended or a bug?
Do you know, if and how the SignalSlot component should be integrated in eZP?
We had the idea to connect signals to slots via the eZP-ini system.
Beste regards,
Thomas Koch
--
Components mailing list
[email protected]
http://lists.ez.no/mailman/listinfo/components