Not yet available.

Will translate between urls such as: http://www.example.com <----> http://mob.example.com

package dstruct_mobile
todo Impliment class

 Methods

Class constructor

__construct(string $main, string $alt) 
Inherited
inherited_from \URLTranslatorInterface::__construct()

Parameters

$main

string

Main site

$alt

string

Alternative 'mobile' site

On the mobile version of the site?

onAlternativePage() : boolean
Inherited
inherited_from \URLTranslatorInterface::onAlternativePage()

Returns

boolean

Get the rewritten path.

rewrite() : string
Inherited
inherited_from \URLTranslatorInterface::rewrite()

Returns

string

Set the URL of the page of interest.

setURL(string $url) 
Inherited
inherited_from \URLTranslatorInterface::setURL()

Parameters

$url

string