BASE . LOG, 'file_id' => $LOG_FILE_ID, // add file date 'print_file_date' => true, // set debug and print flags 'debug_all' => $DEBUG_ALL ?? false, 'echo_all' => $ECHO_ALL ?? false, 'print_all' => $PRINT_ALL ?? false, ]); // db config with logger $db = new CoreLibs\DB\IO(DB_CONFIG, $log); $locale = \CoreLibs\Language\GetLocale::setLocale(); $l10n = new \CoreLibs\Language\L10n( $locale['locale'], $locale['domain'], $locale['path'], ); $backend = new CoreLibs\Admin\Backend($db, $log, $session, $l10n, $locale); $PAGE_NAME = 'TEST CLASS: ADMIN BACKEND'; print ""; print "" . $PAGE_NAME . ""; print ""; print '
Class Test Master
'; print '

' . $PAGE_NAME . '

'; // set acl, from eg login acl print "SETACL[]: " . $backend->setACL(['EMPTY' => 'EMPTY']) . "
"; print "ADBEDITLOG: " . $backend->adbEditLog('CLASSTEST-ADMIN', 'Some info stirng') . "
"; print "ADBTOPMENU(0): " . \CoreLibs\Debug\Support::printAr($backend->adbTopMenu()) . "
"; print "ADBMSG: " . $backend->adbMsg('info', 'Message: %1$d', [1]) . "
"; print "Messaes: " . \CoreLibs\Debug\Support::printAr($backend->messages) . "
"; print "ADBPRINTDATETIME:
" . $backend->adbPrintDateTime(2021, 6, 21, 6, 38, '_test') . "
"; // error message print $log->printErrorMsg(); print ""; // __END__