first commit
This commit is contained in:
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;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user