Pluf Framework

Pluf Framework Commit Details


Date:2008-11-25 07:46:06 (16 years 5 months ago)
Author:Loic d'Anterroches
Branch:develop, master
Commit:0c4e9ec58d47da453a5789e38a27fbe14de75a07
Parents: 898381618ee5fe4eaeabf267680d7ebad345f867
Message:Fixed the reference problem in the signal.

This should work with PHP 5.2.6 now.
Changes:

File differences

src/Pluf/Signal.php
4040
4141
4242
43
43
44
4445
4546
4647
        if (!empty($GLOBALS['_PX_signal'][$signal])) {
            foreach ($GLOBALS['_PX_signal'][$signal] as $key=>$val) {
                if ($val[2] === null or $sender == $val[2]) {
                    call_user_func(array($val[0], $val[1]), $signal, &$params);
                    call_user_func_array(array($val[0], $val[1]),
                                         array($signal, &$params));
                }
            }
        }

Archive Download the corresponding diff file

Branches

Tags

Number of commits:
Page rendered in 0.08092s using 13 queries.