PHP Class Sulu\Component\Webspace\Url

Inheritance: implements Sulu\Component\Util\ArrayableInterface
Afficher le fichier Open project: sulu/sulu Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( $url = null, $environment = null )
getAnalyticsKey ( ) : string Returns the analytics key.
getCountry ( ) : string Returns the country to which this url leads.
getEnvironment ( ) : string Returns the environment.
getLanguage ( ) : string Returns the language to which this url leads.
getRedirect ( ) : string Returns the redirect url.
getSegment ( ) : string Returns the segment to which this url leads.
getUrl ( ) : string Returns the url.
isMain ( ) : boolean Return main flag.
setAnalyticsKey ( string $analyticsKey ) Sets the analytics key for this url.
setCountry ( string $country ) Sets the country to which this url leads.
setEnvironment ( string $environment ) Sets the environment.
setLanguage ( string $language ) Sets the language to which this url leads.
setMain ( boolean $main ) Sets main flag.
setRedirect ( string $redirect ) Sets the redirect for this url.
setSegment ( string $segment ) Sets the segment to which this url leads.
setUrl ( string $url ) Sets the url.
toArray ( $depth = null )

Method Details

__construct() public méthode

public __construct ( $url = null, $environment = null )

getAnalyticsKey() public méthode

Returns the analytics key.
public getAnalyticsKey ( ) : string
Résultat string

getCountry() public méthode

Returns the country to which this url leads.
public getCountry ( ) : string
Résultat string

getEnvironment() public méthode

Returns the environment.
public getEnvironment ( ) : string
Résultat string

getLanguage() public méthode

Returns the language to which this url leads.
public getLanguage ( ) : string
Résultat string

getRedirect() public méthode

Returns the redirect url.
public getRedirect ( ) : string
Résultat string

getSegment() public méthode

Returns the segment to which this url leads.
public getSegment ( ) : string
Résultat string

getUrl() public méthode

Returns the url.
public getUrl ( ) : string
Résultat string

isMain() public méthode

Return main flag.
public isMain ( ) : boolean
Résultat boolean

setAnalyticsKey() public méthode

Sets the analytics key for this url.
public setAnalyticsKey ( string $analyticsKey )
$analyticsKey string

setCountry() public méthode

Sets the country to which this url leads.
public setCountry ( string $country )
$country string

setEnvironment() public méthode

Sets the environment.
public setEnvironment ( string $environment )
$environment string

setLanguage() public méthode

Sets the language to which this url leads.
public setLanguage ( string $language )
$language string

setMain() public méthode

Sets main flag.
public setMain ( boolean $main )
$main boolean

setRedirect() public méthode

Sets the redirect for this url.
public setRedirect ( string $redirect )
$redirect string

setSegment() public méthode

Sets the segment to which this url leads.
public setSegment ( string $segment )
$segment string

setUrl() public méthode

Sets the url.
public setUrl ( string $url )
$url string

toArray() public méthode

public toArray ( $depth = null )