dbXapp 2.0
RAD, CMS, Module und Runtime-IDE fuer dbXapp
Loading...
Searching...
No Matches
dbx\dbxContent\dbxContentPermalinkIndex Class Reference

Kompatibilitaets-Fassade fuer Permalinks. More...

Static Public Member Functions

static indexPath (string $lng='')
 Legacy-Pfad, wird nur noch beim Leeren alter Cache-Dateien benoetigt.
static homePath (string $lng='')
 Legacy-Pfad, wird nur noch beim Leeren alter Cache-Dateien benoetigt.
static normalizePermalink (string $permalink)
static load (string $lng='')
 Liefert die aktuellen Permalinks direkt aus dbxContent.
static save (array $data, string $lng='')
 Kein Persistieren: Permalinks liegen ausschliesslich in dbxContent.
static upsertPage (int $cid, string $permalink, string $rights, int $activ=1, string $lng='')
static removeByCid (int $cid, string $lng='')
static removeByPermalink (string $permalink, string $lng='')
static resolve (string $permalink, string $lng='')
 Loest genau einen Permalink direkt aus der Content-Tabelle auf.
static writeHomeCid (int $cid, string $lng='')
static readHomeCid (string $lng='')

Detailed Description

Kompatibilitaets-Fassade fuer Permalinks.

Es gibt keinen separaten Permalink-Cache mehr. Alle Lesezugriffe erfolgen direkt auf der sprachabhaengigen Content-Tabelle. Die bisherigen Schreib- methoden bleiben als No-op erhalten, damit bestehende Speicherroutinen nicht angepasst werden muessen.

Definition at line 16 of file dbxContentPermalinkIndex.class.php.

Member Function Documentation

◆ homePath()

dbx\dbxContent\dbxContentPermalinkIndex::homePath ( string $lng = '')
static

Legacy-Pfad, wird nur noch beim Leeren alter Cache-Dateien benoetigt.

Definition at line 25 of file dbxContentPermalinkIndex.class.php.

◆ indexPath()

dbx\dbxContent\dbxContentPermalinkIndex::indexPath ( string $lng = '')
static

Legacy-Pfad, wird nur noch beim Leeren alter Cache-Dateien benoetigt.

Definition at line 19 of file dbxContentPermalinkIndex.class.php.

◆ load()

dbx\dbxContent\dbxContentPermalinkIndex::load ( string $lng = '')
static

Liefert die aktuellen Permalinks direkt aus dbxContent.

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

References $db.

◆ normalizePermalink()

dbx\dbxContent\dbxContentPermalinkIndex::normalizePermalink ( string $permalink)
static

Definition at line 38 of file dbxContentPermalinkIndex.class.php.

Referenced by resolve().

◆ readHomeCid()

dbx\dbxContent\dbxContentPermalinkIndex::readHomeCid ( string $lng = '')
static

Definition at line 166 of file dbxContentPermalinkIndex.class.php.

References readHomeCid().

Referenced by readHomeCid().

◆ removeByCid()

dbx\dbxContent\dbxContentPermalinkIndex::removeByCid ( int $cid,
string $lng = '' )
static

Definition at line 127 of file dbxContentPermalinkIndex.class.php.

References removeByCid().

Referenced by removeByCid().

◆ removeByPermalink()

dbx\dbxContent\dbxContentPermalinkIndex::removeByPermalink ( string $permalink,
string $lng = '' )
static

Definition at line 131 of file dbxContentPermalinkIndex.class.php.

References removeByPermalink().

Referenced by removeByPermalink().

◆ resolve()

dbx\dbxContent\dbxContentPermalinkIndex::resolve ( string $permalink,
string $lng = '' )
static

Loest genau einen Permalink direkt aus der Content-Tabelle auf.

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

References normalizePermalink(), and resolve().

Referenced by dbxWebApp\check_perma(), and resolve().

◆ save()

dbx\dbxContent\dbxContentPermalinkIndex::save ( array $data,
string $lng = '' )
static

Kein Persistieren: Permalinks liegen ausschliesslich in dbxContent.

Definition at line 119 of file dbxContentPermalinkIndex.class.php.

◆ upsertPage()

dbx\dbxContent\dbxContentPermalinkIndex::upsertPage ( int $cid,
string $permalink,
string $rights,
int $activ = 1,
string $lng = '' )
static

Definition at line 123 of file dbxContentPermalinkIndex.class.php.

References $activ.

◆ writeHomeCid()

dbx\dbxContent\dbxContentPermalinkIndex::writeHomeCid ( int $cid,
string $lng = '' )
static

Definition at line 162 of file dbxContentPermalinkIndex.class.php.


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