For a better example...

the call sfMixer::register('sfException:printStackTrace',
array('sfErrorLogger', 'log500'));

is registering that when the sfEception call for PrintStackTrace is run
a call to sfErrorLogger::log500 should be made when the following hook
code is encountered.

from sfException.class.php
.........
foreach
(sfMixer::getCallables('sfException:printStackTrace:printStackTrace')
as $callable)
    {
      $ret = call_user_func($callable, $this, $exception);
      if ($ret)
      {
        if (!sfConfig::get('sf_test'))
        {
          exit(1);
        }

        return;
      }
    }
.......


--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups 
"symfony developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-devs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to