PHP 클래스 Sulu\Component\Webspace\Url

상속: implements Sulu\Component\Util\ArrayableInterface
파일 보기 프로젝트 열기: sulu/sulu 1 사용 예제들

공개 메소드들

메소드 설명
__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 )