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, ]); $basic = new CoreLibs\Basic($log); $backend = new CoreLibs\Admin\Backend(DB_CONFIG, $log); print "TEST CLASS: ADMIN BACKEND"; print ""; print '
Class Test Master
'; // set acl, from eg login acl print "SETACL[]: " . $backend->setACL([]) . "
"; 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($this->messages) . "
"; print "ADBPRINTDATETIME:
" . $backend->adbPrintDateTime(2021, 6, 21, 6, 38, '_test') . "
"; // error message print $log->printErrorMsg(); print ""; // __END__