PHP Класс LeagueWrap\Region

Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$championMasteryDomain
$currentGameDomain
$defaultDomain The default domain to attempt to query
$defaultStaticDomain The default domain for static queries
$featuredGameDomain
$platformIds
$region The region that this object represents.
$statusDomain

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

Метод Описание
__construct ( $region )
getChampionMasteryDomain ( )
getCurrentGameDomain ( )
getDefaultDomain ( ) : string Returns the domain that this region needs to make its request.
getFeaturedGamesDomain ( ) : string Returns the observer domain that this region needs to make its request.
getRegion ( ) : string Returns the region that was passed in the constructor.
getStaticDataDomain ( ) : string Returns the static data domain that this region needs to make its request.
getStatusDomain ( )
isLocked ( array $regions ) : boolean Determines wether the given region is locked out.

Защищенные методы

Метод Описание
getPlatformId ( ) : String

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

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

public __construct ( $region )
$region

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

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

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

Returns the domain that this region needs to make its request.
public getDefaultDomain ( ) : string
Результат string

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

Returns the observer domain that this region needs to make its request.
public getFeaturedGamesDomain ( ) : string
Результат string

getPlatformId() защищенный Метод

protected getPlatformId ( ) : String
Результат String platform id for the selected version

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

Returns the region that was passed in the constructor.
public getRegion ( ) : string
Результат string

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

Returns the static data domain that this region needs to make its request.
public getStaticDataDomain ( ) : string
Результат string

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

public getStatusDomain ( )

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

Determines wether the given region is locked out.
public isLocked ( array $regions ) : boolean
$regions array
Результат boolean

Описание свойств

$championMasteryDomain защищенное свойство

protected $championMasteryDomain

$currentGameDomain защищенное свойство

protected $currentGameDomain

$defaultDomain защищенное свойство

The default domain to attempt to query
protected $defaultDomain

$defaultStaticDomain защищенное свойство

The default domain for static queries
protected $defaultStaticDomain

$featuredGameDomain защищенное свойство

protected $featuredGameDomain

$platformIds защищенное свойство

protected $platformIds

$region защищенное свойство

The region that this object represents.
protected $region

$statusDomain защищенное свойство

protected $statusDomain