PHP Класс Sulu\Component\Webspace\Url

Наследование: implements Sulu\Component\Util\ArrayableInterface
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
__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 )

Описание методов

__construct() публичный Метод

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

getAnalyticsKey() публичный Метод

Returns the analytics key.
public getAnalyticsKey ( ) : string
Результат string

getCountry() публичный Метод

Returns the country to which this url leads.
public getCountry ( ) : string
Результат string

getEnvironment() публичный Метод

Returns the environment.
public getEnvironment ( ) : string
Результат string

getLanguage() публичный Метод

Returns the language to which this url leads.
public getLanguage ( ) : string
Результат string

getRedirect() публичный Метод

Returns the redirect url.
public getRedirect ( ) : string
Результат string

getSegment() публичный Метод

Returns the segment to which this url leads.
public getSegment ( ) : string
Результат string

getUrl() публичный Метод

Returns the url.
public getUrl ( ) : string
Результат string

isMain() публичный Метод

Return main flag.
public isMain ( ) : boolean
Результат boolean

setAnalyticsKey() публичный Метод

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

setCountry() публичный Метод

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

setEnvironment() публичный Метод

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

setLanguage() публичный Метод

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

setMain() публичный Метод

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

setRedirect() публичный Метод

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

setSegment() публичный Метод

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

setUrl() публичный Метод

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

toArray() публичный Метод

public toArray ( $depth = null )