dbxapp 4.1.3
CMS, Shop, Workflows und modulare Geschäftsanwendungen
Loading...
Searching...
No Matches
dbx\dbxContent_admin\dbxContentMediaUsageMaintenance Class Reference

Erstellt ohne Datenbankzugriffe einen sicheren Reparaturplan fuer dbxMediaUsage. More...

Static Public Member Functions

static usageKey (int $mediaId, int $contentId, int $folderId, string $slot, string $contentLng='de')
static plan (array $usageRows, array $validMediaIds, array $expected, array $contentFolders, array $folderIds, array $allowedSlots, array $controlledSlots=array('hero', 'inline', 'shop'))

Detailed Description

Erstellt ohne Datenbankzugriffe einen sicheren Reparaturplan fuer dbxMediaUsage.

Die eigentlichen Schreibzugriffe bleiben im CMS-Service.

Definition at line 8 of file dbxContentMediaUsageMaintenance.class.php.

Member Function Documentation

◆ plan()

dbx\dbxContent_admin\dbxContentMediaUsageMaintenance::plan ( array $usageRows,
array $validMediaIds,
array $expected,
array $contentFolders,
array $folderIds,
array $allowedSlots,
array $controlledSlots = array('hero', 'inline', 'shop') )
static
Returns
array{delete:array<int,string>,update:array<int,array>,insert:array,kept:int,analyzed:int,reasons:array<string,int>}

Definition at line 21 of file dbxContentMediaUsageMaintenance.class.php.

References $allowed, $expected, and $kept.

◆ usageKey()

dbx\dbxContent_admin\dbxContentMediaUsageMaintenance::usageKey ( int $mediaId,
int $contentId,
int $folderId,
string $slot,
string $contentLng = 'de' )
static

Definition at line 10 of file dbxContentMediaUsageMaintenance.class.php.

References $mediaId.


The documentation for this class was generated from the following file: