Method |
Description |
|
appendLocalizationReplacer ( $url ) : string |
Appends localization replacer to url. |
|
cleanup ( string $url, array $replacers = null ) : string |
Removes all replacers. |
|
hasCountryReplacer ( string $url ) : boolean |
Returns true if country replacer exists. |
|
hasHostReplacer ( string $url ) : boolean |
Returns true if host replacer exists. |
|
hasLanguageReplacer ( string $url ) : boolean |
Returns true if language replacer exists. |
|
hasLocalizationReplacer ( string $url ) : boolean |
Returns true if localization replacer exists. |
|
hasSegmentReplacer ( string $url ) : boolean |
Returns true if segment replacer exists. |
|
replace ( string $url, string $replacer, string $value ) : string |
Replace replacer with given value. |
|
replaceCountry ( string $url, string $country ) : string |
Replace country with given value. |
|
replaceHost ( string $url, string $host ) : string |
Replace host with given value. |
|
replaceLanguage ( string $url, string $language ) : string |
Replace language with given value. |
|
replaceLocalization ( string $url, string $localization ) : string |
Replace localization with given value. |
|
replaceSegment ( string $url, string $segment ) : string |
Replace segment with given value. |
|