public function triggerError($error_message = null, $error_type = null) {

        if ($error_message !== null && $error_type !== null) {
            trigger_error($error_message, $error_type);
        }
    }
public function triggerError($error_message = null, $error_type = null) {

        if ($error_message !== null && $error_type !== null) {
            trigger_error($error_message, $error_type);
        }
    }
public function triggerError ( $ error_message = null , $ error_type = null ) { if ( $ error_message !== null && $ error_type !== null ) { trigger_error ( $ error_message , $ error_type ) ; } }
Trigger and error using the standard PHP Error chain.
@param string $error_message Error message to be triggered.
@param string $error_type Error type to be triggered.
Trigger and error using the standard PHP Error chain .