Seo
in package
Creates an seo-url-compatible string
Table of Contents
- getName() : string
- Creates an seo-url-compatible string
- removeDuplicates() : array<string|int, mixed>|string|array<string|int, string>
- Removes Duplicates to another string
- unhtmlentities() : string
- Uebersetzt alle entities in die Sonderzeichen, wird bisher bei RSS-Ausgabe verwendet
- noDiacritics() : array<string|int, mixed>|string|array<string|int, string>
- Returns to basic latin or converts Ä to Ae
Methods
getName()
Creates an seo-url-compatible string
public
static 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/'
removeDuplicates()
Removes Duplicates to another string
public
static removeDuplicates( $sSearch, $sReplace, $sSubject) : array<string|int, mixed>|string|array<string|int, string>
Parameters
Return values
array<string|int, mixed>|string|array<string|int, string> —unhtmlentities()
Uebersetzt alle entities in die Sonderzeichen, wird bisher bei RSS-Ausgabe verwendet
public
static unhtmlentities(string $string) : string
Parameters
- $string : string
Return values
string —noDiacritics()
Returns to basic latin or converts Ä to Ae
protected
static noDiacritics( $string) : array<string|int, mixed>|string|array<string|int, string>