dbxapp 4.5.3
Technische API-Referenz der dbxapp-Plattform
Lade ...
Suche ...
Keine Treffer
write-change-log.php-Dateireferenz

Variablen

 $options = getopt('', array('summary:', 'resources:', 'details::', 'actor::', 'root:'))
 $summary = trim((string)($options['summary'] ?? ''))
 $details = trim((string)($options['details'] ?? ''))
 $actor = trim((string)($options['actor'] ?? 'Codex'))
 $resources
if($summary===''||mb_strlen($summary, 'UTF-8') > 255||mb_strlen($details, 'UTF-8')< 3||! $resources|| $actor==='') try
 $requested_root = trim((string)($options['root'] ?? $default_root))
 $resolved_root = realpath($requested_root)
if($resolved_root===false||!is_file($resolved_root . '/index.php')||!is_file($resolved_root . '/VERSION')||!is_file($resolved_root . '/dbx/vendor/autoload.php')||!is_file($resolved_root . '/dbx/include/dbxKernel.php')) $root = rtrim(str_replace('\\', '/', $resolved_root), '/')
 $installation = rawurlencode(basename($root))
 $_SERVER ['REQUEST_URI'] = '/' . $installation . '/?dbx_modul=dbxChangeLog_admin&dbx_run1=report'
 $_SERVER ['HTTP_HOST'] = 'localhost'
 $_SERVER ['SCRIPT_NAME'] = '/' . $installation . '/index.php'
 $_SERVER ['REQUEST_METHOD'] = 'CLI'
 if (!defined( 'dbxSystem')) define( 'dbxSystem'
 $result

Variablen-Dokumentation

◆ $_SERVER [1/4]

$_SERVER[ 'HTTP_HOST'] = 'localhost'

◆ $_SERVER [2/4]

$_SERVER[ 'REQUEST_METHOD'] = 'CLI'

◆ $_SERVER [3/4]

◆ $_SERVER [4/4]

$_SERVER[ 'SCRIPT_NAME'] = '/' . $installation . '/index.php'

◆ $actor

$actor = trim((string)($options['actor'] ?? 'Codex'))

◆ $details

◆ $installation

$installation = rawurlencode(basename($root))

◆ $options

◆ $requested_root

$requested_root = trim((string)($options['root'] ?? $default_root))

◆ $resolved_root

$resolved_root = realpath($requested_root)

◆ $resources

$resources
Initialisierung:
= array_values(array_unique(array_filter(array_map(
static fn(string $resource): string => trim(str_replace('\\', '/', $resource)),
preg_split('/[;\r\n]+/', (string)($options['resources'] ?? '')) ?: array()
))))
$options
Definition write-change-log.php:5

Wird benutzt von dbx\dbxKi\dbxKiChangeLogService\normalize() und dbx\dbxChangeLog_admin\dbxChangeLogWriter\write().

◆ $result

$result
Initialisierung:
= dbx()->get_include_obj('dbxChangeLogWriter', 'dbxChangeLog_admin')
Verwaltet Datenbankschemata und Schemaabgleiche in der Administration.
$actor
Definition write-change-log.php:8
$details
Definition write-change-log.php:7
$summary
Definition write-change-log.php:6
$resources
Definition write-change-log.php:9

Wird benutzt von dbx\dbxContent_admin\dbxContentCmsPersistenceService\duplicate_page(), dbx\dbxSelfTest\dbxSelfTestRunner\execute_run_test(), dbxForm\forward_submit(), dbx\dbxKi\dbxKiDesignService\handle_apply(), dbx\dbxContent_admin\dbxContentCmsPersistenceService\move_node(), dbx\dbxContent\dbxContentLngSync\provision_folder_tree(), dbx\dbxContent\dbxContentLngSync\provision_from_preview(), dbx\dbxSelfTest\dbxSelfTestRunner\record_browser_test_result(), dbx\dbxChangeLog_admin\dbxChangeLogService\report(), dbx\dbxContent\dbxContentLngSync\reset_sync_to_auto(), dbx\dbxSelfTest\dbxSelfTestRunner\run_profile(), dbxInterpreter\run_selected_modules(), dbx\dbxContent_admin\dbxContentCmsPersistenceService\save_folder(), dbx\dbxContent_admin\dbxContentCmsPersistenceService\save_page(), dbx\dbxSetup\dbxInstallationService\seed_core_groups(), dbx\dbxContent\dbxContentLngSync\sync_slaves_from_master(), dbx\dbxShop\dbxShopSearch\terms(), dbxValidator\validate(), dbx\dbxShop\dbxShopAmazonPay\validate_completion(), dbxPackageContract\verify_signed_document() und dbx\dbxKi\dbxKiChangeLogService\write_change_log().

◆ $root

◆ $summary

$summary = trim((string)($options['summary'] ?? ''))

◆ if

if(!defined('dbxRunAsAdmin')) define('dbxRunAsAdmin' ( ! defined 'dbxSystem')

Wird benutzt von dbx\dbxContact\dbxContactTicket\add_message(), dbx\dbxHelp\dbxModuleHelp\attach_form(), dbx\dbxContent\dbxContentPageCache\attach_resolved_content_route(), dbx\dbxWorkflow\dbxWorkflowModule\automate_need(), dbx\dbxContent\dbxContentLngSync\backfill_master_lng(), dbx\dbxContent\dbxContentLngSync\backfill_uids(), dbx\dbxContent\dbxContentLngSync\collect_page_ids_in_folders(), dbx\dbxContact\dbxContactList\contact_list_report_row_action_data(), dbx\dbxContact_admin\dbxContactAdmin\contact_ticket_report_row_action_data(), dbxSession\discard_ephemeral_anonymous_session(), draw_flat_product(), dbx\dbxContent\dbxContentPageCache\ensure_dirs(), dbx\dbxSetup\dbxInstallationService\ensure_initial_admin(), dbx\dbxContent\dbxContent_permalink\exists(), dbx\dbxContent\dbxEarlyPageCache\find_response(), dbx\dbxContent_admin\dbxContentCmsPersistenceService\flush_deleted_folder_cache(), dbx\dbxContent_admin\dbxContentCmsPersistenceService\flush_deleted_page_cache(), dbx\dbxContent_admin\dbxContentCmsPersistenceService\flush_folder_cache(), dbx\dbxContent_admin\dbxContentCmsPersistenceService\flush_media_by_media_id(), dbx\dbxContent_admin\dbxContentCmsPersistenceService\flush_media_cache(), dbx\dbxContent_admin\dbxContentCmsPersistenceService\flush_saved_page_cache(), dbxObj\get_callback_name(), dbxForm\get_data(), dbxPresentation\get_design_catalog(), dbxTPL\get_help_tpl(), dbxReport\get_record(), dbxReport\get_record_val(), dbx\dbxAdmin\dbxModuleRegistry\group_options(), dbx\dbxKi\dbxKiDesignService\handle_export(), dbx\dbxContent\dbxContentPageCache\invalidate_folder_tree(), dbx\dbxContent\dbxContentPageCache\invalidate_sitemap(), dbx\dbxContent\dbxContentPageCache\is_content_route(), dbx\dbxContent\dbxContentLngSync\is_master_lng(), dbx\dbxContent\dbxContentPageCache\is_permalink_page_request(), dbx\dbxContent\dbxContentPageCache\is_read_enabled(), dbxRequest\json(), dbx\dbxContent_admin\dbxContentCmsPersistenceService\language_provision_open_flag(), dbx\dbxContact\dbxContactTicket\messages(), dbxPasswordPolicy\missing_message(), dbx\dbxContact\dbxContactConfig\modul_mail_enabled(), dbx\dbxKi\dbxKiHelp\module_bar_template_data(), dbx\dbxContent\dbxContentPageCache\purge_stale_full_pages(), dbxRequest\raw_body(), dbx\dbxContent\dbxContentPageCache\read_full_page(), dbx\dbxContent\dbxEarlyPageCache\register(), dbxTPL\replaces(), dbx\dbxKi\dbxKiHelp\resolve_screen(), dbx\dbxContact\dbxContactContentProvision\run(), dbxRuntime\send_headers(), dbx\dbxContent\dbxContentSitemap\serve(), dbx\dbxContent\dbxContentSitemap\serve_robots(), dbxObj\set_callback(), dbxObj\set_callback_owner(), dbxReport\set_callback_owner(), dbxReport\set_record_val(), dbxMail\spam_reason_for_text(), dbxPerformanceTimer\store(), dbxConfigStore\strip_module_db_entries(), dbx\dbxShop\dbxShopAmazonPay\test_connection(), dbx\dbxShop\dbxShopPayPal\test_connection(), dbx\dbxContact\dbxContactTicket\ticket(), dbx\dbxContact\dbxContactTicket\touch(), dbx\dbxShop\dbxShopPayPal\validate_capture(), dbx\dbxDesign_admin\dbxDesignService\validate_result_file() und dbx\dbxContent\dbxContentPageCache\write_full_page().

◆ try

if ( $summary===''||mb_strlen( $summary, 'UTF-8') > 255||mb_strlen( $details, 'UTF-8')< 3||! $resources||$actor==='') try
Initialisierung:
{
$default_root = dirname(__DIR__, 4)

Wird benutzt von dbxRuntime\store_performance_timer().