first commit

This commit is contained in:
salam committed 2026-10-06 19:40:28 +02:00
commit e81864e683
2984 files changed
+267797

No files matched your search

@@ -0,0 +1,36 @@
<?php
namespace HermannTelser\Zuladungsliste\Utilities;
class Message
{
public static function error($filename, $linenumber, $message)
{
die(PHP_EOL.PHP_EOL.
'-----------------------------------------------------------'.PHP_EOL.
'DOKUMENT: '.$filename.PHP_EOL.
'ZEILE: '.$linenumber.PHP_EOL.
'FEHLER: '.$message.PHP_EOL.
"\nVerarbeitung gestoppt !".PHP_EOL.
'-----------------------------------------------------------'.PHP_EOL.
PHP_EOL);
}
public static function debug($filename, $linenumber, $message)
{
echo PHP_EOL.
'-----------------------------------------------------------'.PHP_EOL.
'file: '.$filename.PHP_EOL.
'line: '.$linenumber.PHP_EOL.
'note: '.$message.PHP_EOL.
'-----------------------------------------------------------'.PHP_EOL.PHP_EOL;
}
public static function note($message)
{
echo PHP_EOL.
'-----------------------------------------------------------'.PHP_EOL.PHP_EOL.
$message.PHP_EOL.PHP_EOL.
'-----------------------------------------------------------'.PHP_EOL.PHP_EOL;
}
}