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

Static Public Member Functions

static masterLng ()
static accessibleLngs ()
static isMasterLng (?string $lng=null)
static newUid (string $prefix='p')
static ensureSchema ($db)
static backfillMasterLng ($db)
static backfillUids ($db)
static ensureRecordUid ($db, string $dd, int $id, string $prefix='p')
static afterPageSave ($db, int $id, bool $isNew=false)
static afterFolderSave ($db, int $id, bool $isNew=false)
static markManual ($db, string $dd, int $id)
static resolveIdByUid ($db, string $dd, string $lngUid, string $lng='')
static hasMissingSlaveLng ($db, string $entity, int $masterId)
static coverageForUid ($db, string $entity, string $lngUid)
static badgesHtml (array $coverage)
static slaveLngs ()
static resolveFolderIdInLng ($db, int $masterFolderId, string $targetLng)
static ensureFolderIdInLng ($db, int $masterFolderId, string $targetLng, int $depth=0)
 Ordner in Zielsprache aufloesen oder rekursiv aus Master-Struktur anlegen.
static previewProvision ($db, string $entity, int $masterId, array $lngs=array())
static provisionFromPreview ($db, string $entity, int $masterId, array $items)
static syncSlavesFromMaster ($db, string $entity, int $masterId)
static folderDeletable ($db, string $lng, int $folderId)
static previewDelete ($db, string $entity, int $id)
static resolveDeleteIds ($db, string $entity, int $id, array $deleteLngs)
static resetSyncToAuto ($db, string $entity, int $masterId, array $lngs=array())
static collectFolderSubtreeIds ($db, int $rootFolderId)
static collectPageIdsInFolders ($db, array $folderIds)
static provisionFolderTree ($db, int $masterFolderId, array $lngs=array())
static renderLngBar ()

Detailed Description

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

Member Function Documentation

◆ accessibleLngs()

dbx\dbxContent\dbxContentLngSync::accessibleLngs ( )
static

Definition at line 18 of file dbxContentLngSync.class.php.

References dbx_accessible_lngs(), and if.

◆ afterFolderSave()

dbx\dbxContent\dbxContentLngSync::afterFolderSave ( $db,
int $id,
bool $isNew = false )
static

Definition at line 136 of file dbxContentLngSync.class.php.

References $db.

◆ afterPageSave()

dbx\dbxContent\dbxContentLngSync::afterPageSave ( $db,
int $id,
bool $isNew = false )
static

Definition at line 109 of file dbxContentLngSync.class.php.

References $db.

◆ backfillMasterLng()

dbx\dbxContent\dbxContentLngSync::backfillMasterLng ( $db)
static

Definition at line 56 of file dbxContentLngSync.class.php.

References $db, and if.

◆ backfillUids()

dbx\dbxContent\dbxContentLngSync::backfillUids ( $db)
static

Definition at line 67 of file dbxContentLngSync.class.php.

References $db, and if.

◆ badgesHtml()

dbx\dbxContent\dbxContentLngSync::badgesHtml ( array $coverage)
static

Definition at line 267 of file dbxContentLngSync.class.php.

References $languages.

◆ collectFolderSubtreeIds()

dbx\dbxContent\dbxContentLngSync::collectFolderSubtreeIds ( $db,
int $rootFolderId )
static

Definition at line 906 of file dbxContentLngSync.class.php.

References $db.

◆ collectPageIdsInFolders()

dbx\dbxContent\dbxContentLngSync::collectPageIdsInFolders ( $db,
array $folderIds )
static

Definition at line 941 of file dbxContentLngSync.class.php.

References $db, and if.

◆ coverageForUid()

dbx\dbxContent\dbxContentLngSync::coverageForUid ( $db,
string $entity,
string $lngUid )
static

Definition at line 217 of file dbxContentLngSync.class.php.

References $db, $out, and dbx\dbxContent\dbxContentLng\current().

◆ ensureFolderIdInLng()

dbx\dbxContent\dbxContentLngSync::ensureFolderIdInLng ( $db,
int $masterFolderId,
string $targetLng,
int $depth = 0 )
static

Ordner in Zielsprache aufloesen oder rekursiv aus Master-Struktur anlegen.

Definition at line 327 of file dbxContentLngSync.class.php.

References $db.

◆ ensureRecordUid()

dbx\dbxContent\dbxContentLngSync::ensureRecordUid ( $db,
string $dd,
int $id,
string $prefix = 'p' )
static

Definition at line 81 of file dbxContentLngSync.class.php.

References $db, and $dd.

◆ ensureSchema()

dbx\dbxContent\dbxContentLngSync::ensureSchema ( $db)
static

Definition at line 49 of file dbxContentLngSync.class.php.

References $db.

◆ folderDeletable()

dbx\dbxContent\dbxContentLngSync::folderDeletable ( $db,
string $lng,
int $folderId )
static

Definition at line 707 of file dbxContentLngSync.class.php.

References $db, $lng, and $out.

◆ hasMissingSlaveLng()

dbx\dbxContent\dbxContentLngSync::hasMissingSlaveLng ( $db,
string $entity,
int $masterId )
static

Definition at line 187 of file dbxContentLngSync.class.php.

References $db.

◆ isMasterLng()

dbx\dbxContent\dbxContentLngSync::isMasterLng ( ?string $lng = null)
static

Definition at line 26 of file dbxContentLngSync.class.php.

References $lng, dbx\dbxContent\dbxContentLng\current(), and if.

◆ markManual()

dbx\dbxContent\dbxContentLngSync::markManual ( $db,
string $dd,
int $id )
static

Definition at line 159 of file dbxContentLngSync.class.php.

References $db, and $dd.

◆ masterLng()

dbx\dbxContent\dbxContentLngSync::masterLng ( )
static

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

References $lng.

Referenced by dbx\dbxContent\dbxContentRenderer\applySeoMeta(), and slaveLngs().

◆ newUid()

dbx\dbxContent\dbxContentLngSync::newUid ( string $prefix = 'p')
static

Definition at line 34 of file dbxContentLngSync.class.php.

◆ previewDelete()

dbx\dbxContent\dbxContentLngSync::previewDelete ( $db,
string $entity,
int $id )
static

Definition at line 737 of file dbxContentLngSync.class.php.

References $db, $out, and dbx\dbxContent\dbxContentLng\current().

◆ previewProvision()

dbx\dbxContent\dbxContentLngSync::previewProvision ( $db,
string $entity,
int $masterId,
array $lngs = array() )
static

Definition at line 390 of file dbxContentLngSync.class.php.

References $db, and $out.

◆ provisionFolderTree()

dbx\dbxContent\dbxContentLngSync::provisionFolderTree ( $db,
int $masterFolderId,
array $lngs = array() )
static

Definition at line 970 of file dbxContentLngSync.class.php.

References $db, and $result.

◆ provisionFromPreview()

dbx\dbxContent\dbxContentLngSync::provisionFromPreview ( $db,
string $entity,
int $masterId,
array $items )
static

Definition at line 479 of file dbxContentLngSync.class.php.

References $db, $items, and $result.

◆ renderLngBar()

dbx\dbxContent\dbxContentLngSync::renderLngBar ( )
static

◆ resetSyncToAuto()

dbx\dbxContent\dbxContentLngSync::resetSyncToAuto ( $db,
string $entity,
int $masterId,
array $lngs = array() )
static

Definition at line 855 of file dbxContentLngSync.class.php.

References $db, and $result.

◆ resolveDeleteIds()

dbx\dbxContent\dbxContentLngSync::resolveDeleteIds ( $db,
string $entity,
int $id,
array $deleteLngs )
static

Definition at line 818 of file dbxContentLngSync.class.php.

References $db, and $out.

◆ resolveFolderIdInLng()

dbx\dbxContent\dbxContentLngSync::resolveFolderIdInLng ( $db,
int $masterFolderId,
string $targetLng )
static

Definition at line 305 of file dbxContentLngSync.class.php.

References $db.

◆ resolveIdByUid()

dbx\dbxContent\dbxContentLngSync::resolveIdByUid ( $db,
string $dd,
string $lngUid,
string $lng = '' )
static

Definition at line 168 of file dbxContentLngSync.class.php.

References $db, $dd, and $lng.

◆ slaveLngs()

dbx\dbxContent\dbxContentLngSync::slaveLngs ( )
static

Definition at line 294 of file dbxContentLngSync.class.php.

References $lng, $out, and masterLng().

◆ syncSlavesFromMaster()

dbx\dbxContent\dbxContentLngSync::syncSlavesFromMaster ( $db,
string $entity,
int $masterId )
static

Definition at line 593 of file dbxContentLngSync.class.php.

References $db, and $result.


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