dbXapp 2.0
RAD, CMS, Module und Runtime-IDE fuer dbXapp
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 if.

◆ afterFolderSave()

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

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

References $db.

◆ afterPageSave()

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

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

References $db.

◆ backfillMasterLng()

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

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

References $db, and if.

◆ backfillUids()

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

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

References $db, and if.

◆ badgesHtml()

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

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

◆ collectFolderSubtreeIds()

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

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

References $db.

◆ collectPageIdsInFolders()

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

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

References $db, and if.

◆ coverageForUid()

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

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

References $db, 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 344 of file dbxContentLngSync.class.php.

References $db.

◆ ensureRecordUid()

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

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

References $db.

◆ ensureSchema()

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

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

References $db, and if.

◆ folderDeletable()

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

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

References $db.

◆ hasMissingSlaveLng()

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

Definition at line 204 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 dbx\dbxContent\dbxContentLng\current(), and if.

◆ markManual()

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

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

References $db.

◆ masterLng()

dbx\dbxContent\dbxContentLngSync::masterLng ( )
static

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

Referenced by 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 734 of file dbxContentLngSync.class.php.

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

◆ previewProvision()

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

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

References $db.

◆ provisionFolderTree()

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

Definition at line 967 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 492 of file dbxContentLngSync.class.php.

References $db, 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 852 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 815 of file dbxContentLngSync.class.php.

References $db.

◆ resolveFolderIdInLng()

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

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

References $db.

◆ resolveIdByUid()

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

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

References $db.

◆ slaveLngs()

dbx\dbxContent\dbxContentLngSync::slaveLngs ( )
static

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

References masterLng().

◆ syncSlavesFromMaster()

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

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

References $db, and $result.


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