public function triggerError($message, $level = E_USER_NOTICE)
    {
        if (!($tplIdentifier = $this->template->getResourceIdentifier())) {
            $tplIdentifier = $this->template->getResourceName();
        }
        trigger_error('Dwoo error (in ' . $tplIdentifier . ') : ' . $message, $level);
    }
public function triggerError($message, $level = E_USER_NOTICE)
    {
        if (!($tplIdentifier = $this->template->getResourceIdentifier())) {
            $tplIdentifier = $this->template->getResourceName();
        }
        trigger_error('Dwoo error (in ' . $tplIdentifier . ') : ' . $message, $level);
    }
public function triggerError ( $ message , $ level = E_USER_NOTICE ) { if ( ! ( $ tplIdentifier = $ this -> template -> getResourceIdentifier ( ) ) ) { $ tplIdentifier = $ this -> template -> getResourceName ( ) ; } trigger_error ( 'Dwoo error (in ' . $ tplIdentifier . ') : ' . $ message , $ level ) ; }
Triggers a dwoo error.

@param string $message the error message
@param int    $level   the error level, one of the PHP's E_* constants

@return void
Triggers a dwoo error .