Seo
in package
Table of Contents
Properties
- $GB_FIXED_NAMES : array<string|int, mixed>
Methods
- __construct() : mixed
- getName() : string
- Creates an seo-url-compatible string
- unhtmlentities() : string
- Uebersetzt alle entities in die Sonderzeichen, wird bisher bei RSS-Ausgabe verwendet
- noDiacritics() : string
- Returns to basic latin or converts Ä to Ae
- removeDuplicates() : string
- Removes Duplicates to another string
Properties
$GB_FIXED_NAMES
public
array<string|int, mixed>
$GB_FIXED_NAMES
= ['admin', 'api', 'details', 'export', 'festival', 'flyer', 'invites', 'lift', 'meetingpoint', 'party', 'past', 'photos', 'reports', 'test', 'trackback', 'whocomes', 'forum', 'news']
Methods
__construct()
public
__construct() : mixed
getName()
Creates an seo-url-compatible string
public
getName(string $strToConvert[, string $strType = '' ]) : string
Parameters
- $strToConvert : string
- $strType : string = ''
Tags
Return values
string —- the seo-name with 'party/party-name/' or 'festival/party-name/'
unhtmlentities()
Uebersetzt alle entities in die Sonderzeichen, wird bisher bei RSS-Ausgabe verwendet
public
unhtmlentities(string $string) : string
Parameters
- $string : string
Return values
stringnoDiacritics()
Returns to basic latin or converts Ä to Ae
private
noDiacritics(string $string) : string
Parameters
- $string : string
Return values
stringremoveDuplicates()
Removes Duplicates to another string
private
removeDuplicates(string $sSubject) : string
Parameters
- $sSubject : string