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

Static Public Member Functions

static segment ($text, $fallback='seite')
static slug ($text)
static normalize ($permalink)
static canonicalFromLegacy ($permalink)
 Uebersetzt ausschliesslich alte, pfadartige CMS-Permalinks.
static isValid ($permalink)
static exists ($db, string $content_dd, string $permalink, int $exclude_id=0)
static unique ($db, string $content_dd, string $permalink, int $exclude_id=0)
static build ($db, $folder_dd, $folder_id, $title, $exclude_id=0)

Detailed Description

Definition at line 4 of file dbxContent_permalink.class.php.

Member Function Documentation

◆ build()

dbx\dbxContent\dbxContent_permalink::build ( $db,
$folder_dd,
$folder_id,
$title,
$exclude_id = 0 )
static

Definition at line 181 of file dbxContent_permalink.class.php.

References $db.

◆ canonicalFromLegacy()

dbx\dbxContent\dbxContent_permalink::canonicalFromLegacy ( $permalink)
static

Uebersetzt ausschliesslich alte, pfadartige CMS-Permalinks.

Die Rueckgabe dient als kompatibler Alias; gespeichert werden nur noch flache Werte.

Definition at line 45 of file dbxContent_permalink.class.php.

References $legacy.

Referenced by dbx\dbxContent\dbxContentPermalinkIndex\resolve().

◆ exists()

dbx\dbxContent\dbxContent_permalink::exists ( $db,
string $content_dd,
string $permalink,
int $exclude_id = 0 )
static

Definition at line 147 of file dbxContent_permalink.class.php.

References $db, if, and isValid().

◆ isValid()

◆ normalize()

dbx\dbxContent\dbxContent_permalink::normalize ( $permalink)
static

Definition at line 37 of file dbxContent_permalink.class.php.

References segment().

Referenced by unique().

◆ segment()

dbx\dbxContent\dbxContent_permalink::segment ( $text,
$fallback = 'seite' )
static

Definition at line 6 of file dbxContent_permalink.class.php.

References $fallback.

Referenced by normalize(), and slug().

◆ slug()

dbx\dbxContent\dbxContent_permalink::slug ( $text)
static

Definition at line 33 of file dbxContent_permalink.class.php.

References segment().

◆ unique()

dbx\dbxContent\dbxContent_permalink::unique ( $db,
string $content_dd,
string $permalink,
int $exclude_id = 0 )
static

Definition at line 165 of file dbxContent_permalink.class.php.

References $base, $db, and normalize().


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