Url
in package
Class Url
Table of Contents
- getCacheEmbed() : array<string|int, mixed>
- getDomain() : string
- Parst aus der übergebenen Url die Domain heraus
- getMetaTags() : array<string|int, mixed>
- Get's all meta tags, not the standard only
- getOldLink() : false|mixed
- getParse() : mixed
- http://php.net/manual/en/function.parse-url.php#83875
- getQuerySeperator() : string
- Returns ? or & depends of ? in string
- setOldLink() : void
- writeCacheEmbed() : void
- writeEmbed() : array<string|int, mixed>
- Liest Meta-Tags und schreibt Link in data_cache_embed
- getUnparse() : string
Methods
getCacheEmbed()
public
static getCacheEmbed( $url) : array<string|int, mixed>
Parameters
Return values
array<string|int, mixed> —getDomain()
Parst aus der übergebenen Url die Domain heraus
public
static getDomain(string $strUrl) : string
Parameters
- $strUrl : string
-
- URL z.B. http://www.soundcloud.com/michaelwoods/deadmau5-chris-lake-i-said-michael-woods-remix
Return values
string —- Domain z.B. soundcloud.com
getMetaTags()
Get's all meta tags, not the standard only
public
static getMetaTags( $url) : array<string|int, mixed>
Parameters
Return values
array<string|int, mixed> —getOldLink()
public
static getOldLink( $url) : false|mixed
Parameters
Return values
false|mixed —getParse()
http://php.net/manual/en/function.parse-url.php#83875
public
static getParse( $url) : mixed
Parameters
Return values
mixed —getQuerySeperator()
Returns ? or & depends of ? in string
public
static getQuerySeperator( $url) : string
Parameters
Return values
string —setOldLink()
public
static setOldLink( $url) : void
Parameters
Tags
Return values
void —writeCacheEmbed()
public
static writeCacheEmbed( $url, $code) : void
Parameters
Return values
void —writeEmbed()
Liest Meta-Tags und schreibt Link in data_cache_embed
public
static writeEmbed( $url) : array<string|int, mixed>
Parameters
Return values
array<string|int, mixed> —getUnparse()
protected
static getUnparse( $strUrl) : string