public function report($op, $data)
    {
        if ($this->logger || $this->debug) {
            call_user_func(array($this, 'report'.$op), $data);
        }
    }
public function report($op, $data)
    {
        if ($this->logger || $this->debug) {
            call_user_func(array($this, 'report'.$op), $data);
        }
    }
public function report ( $ op , $ data ) { if ( $ this -> logger || $ this -> debug ) { call_user_func ( array ( $ this , 'report' . $ op ) , $ data ) ; } }
Calls a handler method to report a message

@param string $op The handler constant
@param null|string $data Data required by the handler
Calls a handler method to report a message