dbxapp 4.1.3
CMS, Shop, Workflows und modulare Geschäftsanwendungen
Loading...
Searching...
No Matches
dbxDashboard_error_log_contract_test.php File Reference

Go to the source code of this file.

Variables

 $moduleDir = dirname(__DIR__)
 Architekturvertrag für die Fehlerprotokoll-Anzeige im Admin-Dashboard.
 $dashboard
 $sysMsg
 $template
 $css
 $requiredDashboardParts
foreach($requiredDashboardParts as $part) $requiredServiceParts
foreach( $requiredServiceParts as $part) if(strpos($sysMsg, "get_modul_var('file'") !==false) foreach(array( 'dbx-admin-dashboard-error-log-content', 'dbxConfirm', 'data-confirm-buttons="yesno"', '{delete_action}', '{content}',) as $part) foreach(array('.dbx-admin-dashboard-health.is-error', '.dbx-admin-dashboard-error-log-content', 'max-height:320px', 'overflow:auto', 'resize:vertical',) as $part) $loadMessages
 $fdDir = $moduleDir . DIRECTORY_SEPARATOR . 'fd' . DIRECTORY_SEPARATOR
 $messageSets
 $referenceKeys = array_keys($messageSets['de'])
 foreach ( $messageSets as $language=> $messages)

Variable Documentation

◆ $css

$css
Initial value:
= (string)file_get_contents(
$moduleDir . DIRECTORY_SEPARATOR . 'tpl' . DIRECTORY_SEPARATOR . 'css'
. DIRECTORY_SEPARATOR . 'admin-dashboard.css'
)
$moduleDir
Architekturvertrag für die Fehlerprotokoll-Anzeige im Admin-Dashboard.

Definition at line 17 of file dbxDashboard_error_log_contract_test.php.

Referenced by dbxForm\add_css(), and dbxWebApp\del_add_css().

◆ $dashboard

$dashboard
Initial value:
= (string)file_get_contents(
$moduleDir . DIRECTORY_SEPARATOR . 'include' . DIRECTORY_SEPARATOR . 'dbxDashboard.class.php'
)

Definition at line 7 of file dbxDashboard_error_log_contract_test.php.

◆ $fdDir

$fdDir = $moduleDir . DIRECTORY_SEPARATOR . 'fd' . DIRECTORY_SEPARATOR

Definition at line 91 of file dbxDashboard_error_log_contract_test.php.

◆ $loadMessages

foreach($requiredServiceParts as $part) if(strpos( $sysMsg, "get_modul_var('file'") !==false) foreach(array('dbx-admin-dashboard-error-log-content', 'dbxConfirm', 'data-confirm-buttons="yesno"', '{delete_action}', '{content}',) as $part) foreach (array( '.dbx-admin-dashboard-health.is-error', '.dbx-admin-dashboard-error-log-content', 'max-height:320px', 'overflow:auto', 'resize:vertical',) as $part) $loadMessages
Initial value:
= static function (string $file): array {
$messages = array();
$fields = array();
include $file;
return $messages;
}
$messages
Definition config.fd.php:2

Definition at line 84 of file dbxDashboard_error_log_contract_test.php.

◆ $messageSets

$messageSets
Initial value:
= array(
'de' => $loadMessages($fdDir . 'admin-dashboard-status.fd.php'),
'en' => $loadMessages($fdDir . 'admin-dashboard-status_en.fd.php'),
'es' => $loadMessages($fdDir . 'admin-dashboard-status_es.fd.php'),
)
foreach( $requiredServiceParts as $part) if(strpos($sysMsg, "get_modul_var('file'") !==false) foreach(array( 'dbx-admin-dashboard-error-log-content', 'dbxConfirm', 'data-confirm-buttons="yesno"', '{delete_action}', '{content}',) as $part) foreach(array('.dbx-admin-dashboard-health.is-error', '.dbx-admin-dashboard-error-log-content', 'max-height:320px', 'overflow:auto', 'resize:vertical',) as $part) $loadMessages

Definition at line 92 of file dbxDashboard_error_log_contract_test.php.

◆ $moduleDir

$moduleDir = dirname(__DIR__)

Architekturvertrag für die Fehlerprotokoll-Anzeige im Admin-Dashboard.

Definition at line 6 of file dbxDashboard_error_log_contract_test.php.

◆ $referenceKeys

$referenceKeys = array_keys($messageSets['de'])

Definition at line 97 of file dbxDashboard_error_log_contract_test.php.

◆ $requiredDashboardParts

$requiredDashboardParts
Initial value:
= array(
"healthPercent = 0",
"'health_error_log'",
"dbx()->action_url(",
"dbx_do=delete_error_log&rid=error_log",
"htmlspecialchars(",
"ENT_QUOTES | ENT_SUBSTITUTE",
"admin-dashboard-status",
)

Definition at line 22 of file dbxDashboard_error_log_contract_test.php.

◆ $requiredServiceParts

foreach ( $requiredDashboardParts as $part) $requiredServiceParts
Initial value:
= array(
"public function get_error_log_file(): string",
"dbx()->get_file_dir() . 'dbxError.log'",
"public function error_log_exists(): bool",
"public function delete_error_log(): string",
"@unlink(\$file)",
"clearstatcache(true, \$file)",
)

Definition at line 38 of file dbxDashboard_error_log_contract_test.php.

◆ $sysMsg

$sysMsg
Initial value:
= (string)file_get_contents(
$moduleDir . DIRECTORY_SEPARATOR . 'include' . DIRECTORY_SEPARATOR . 'dbxSysMsg.class.php'
)

Definition at line 10 of file dbxDashboard_error_log_contract_test.php.

◆ $template

$template
Initial value:
= (string)file_get_contents(
$moduleDir . DIRECTORY_SEPARATOR . 'tpl' . DIRECTORY_SEPARATOR . 'htm'
. DIRECTORY_SEPARATOR . 'admin-dashboard-error-log.htm'
)

Definition at line 13 of file dbxDashboard_error_log_contract_test.php.

◆ foreach

foreach($messageSets as $language=> $messages) ( $messageSets as,
$messages )

Definition at line 100 of file dbxDashboard_error_log_contract_test.php.