1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
Класс Google
Граф наследования:Google:
Engine IEngine

Открытые члены

 getScope ()
 getAuthUrl ()
 getInterface ()
 setAuthSettings ($settings=null)
 checkAuthExpired ($bGetNew)
 refreshAuth ()
 getAuth ($code)
 getCurrentUser ()
 getFeeds ()
 addSite ($domain, $dir='/')
 verifyGetToken ($domain, $dir)
 verifySite ($domain, $dir)
Открытые члены унаследованные от Engine
 __construct ()
 getId ()
 getCode ()
 getSettings ()
 getClientId ()
 getClientSecret ()
 getAuthSettings ()
 clearAuthSettings ()
Открытые члены унаследованные от IEngine
 getCode ()
 getAuthSettings ()

Поля данных

const ENGINE_ID = 'google'
const SCOPE_BASE = 'https://www.googleapis.com/auth/webmasters'
const SCOPE_USER = 'https://www.googleapis.com/auth/userinfo.profile'
const SCOPE_VERIFY = 'https://www.googleapis.com/auth/siteverification.verify_only'
const SCOPE_FEED_SITES = 'sites'
const SCOPE_FEED_CRAWLISSUES = 'crawlissues/'
const SCOPE_FEED_MESSAGES = 'messages/'
const SCOPE_DOMAIN_PROTOCOL = 'http://'
const QUERY_BASE = 'https://www.googleapis.com/webmasters/v3/'
const QUERY_USER = 'https://www.googleapis.com/oauth2/v3/userinfo'
const QUERY_VERIFY = 'https://www.googleapis.com/siteVerification/v1/webResource?verificationMethod=FILE'
const QUERY_VERIFY_TOKEN = 'https://www.googleapis.com/siteVerification/v1/token'
Поля данных унаследованные от Engine
const HTTP_STATUS_OK = 200
const HTTP_STATUS_CREATED = 201
const HTTP_STATUS_NO_CONTENT = 204
const HTTP_STATUS_AUTHORIZATION = 401

Защищенные члены

 queryJson ($scope, $method="GET", $data=null, $bSkipRefreshAuth=false)
 query ($scope, $method="GET", $data=null, $bSkipRefreshAuth=false, $contentType='application/json')
Защищенные члены унаследованные от Engine
 saveSettings ()

Защищенные данные

 $engineId = 'google'
 $scope = null
Защищенные данные унаследованные от Engine
 $engineId = 'unknown engine'
 $engine = null
 $engineSettings = array()
 $authInterface = null

Дополнительные унаследованные члены

Защищенные статические члены унаследованные от Engine
static getEngine ($engineId)

Подробное описание

См. определение в файле google.php строка 16

Методы

◆ addSite()

addSite ( $domain,
$dir = '/' )

См. определение в файле google.php строка 216

◆ checkAuthExpired()

checkAuthExpired ( $bGetNew)

См. определение в файле google.php строка 107

◆ getAuth()

getAuth ( $code)

См. определение в файле google.php строка 129

◆ getAuthUrl()

getAuthUrl ( )

См. определение в файле google.php строка 64

◆ getCurrentUser()

getCurrentUser ( )

См. определение в файле google.php строка 145

◆ getFeeds()

getFeeds ( )

См. определение в файле google.php строка 178

◆ getInterface()

getInterface ( )

Замещает IEngine.

См. определение в файле google.php строка 69

◆ getScope()

getScope ( )

См. определение в файле google.php строка 38

◆ query()

query ( $scope,
$method = "GET",
$data = null,
$bSkipRefreshAuth = false,
$contentType = 'application/json' )
protected

См. определение в файле google.php строка 303

◆ queryJson()

queryJson ( $scope,
$method = "GET",
$data = null,
$bSkipRefreshAuth = false )
protected

См. определение в файле google.php строка 298

◆ refreshAuth()

refreshAuth ( )

См. определение в файле google.php строка 117

◆ setAuthSettings()

setAuthSettings ( $settings = null)

Замещает IEngine.

См. определение в файле google.php строка 87

◆ verifyGetToken()

verifyGetToken ( $domain,
$dir )

См. определение в файле google.php строка 235

◆ verifySite()

verifySite ( $domain,
$dir )

См. определение в файле google.php строка 267

Поля

◆ $engineId

$engineId = 'google'
protected

См. определение в файле google.php строка 35

◆ $scope

$scope = null
protected

См. определение в файле google.php строка 36

◆ ENGINE_ID

const ENGINE_ID = 'google'

См. определение в файле google.php строка 18

◆ QUERY_BASE

const QUERY_BASE = 'https://www.googleapis.com/webmasters/v3/'

См. определение в файле google.php строка 29

◆ QUERY_USER

const QUERY_USER = 'https://www.googleapis.com/oauth2/v3/userinfo'

См. определение в файле google.php строка 31

◆ QUERY_VERIFY

const QUERY_VERIFY = 'https://www.googleapis.com/siteVerification/v1/webResource?verificationMethod=FILE'

См. определение в файле google.php строка 32

◆ QUERY_VERIFY_TOKEN

const QUERY_VERIFY_TOKEN = 'https://www.googleapis.com/siteVerification/v1/token'

См. определение в файле google.php строка 33

◆ SCOPE_BASE

const SCOPE_BASE = 'https://www.googleapis.com/auth/webmasters'

См. определение в файле google.php строка 19

◆ SCOPE_DOMAIN_PROTOCOL

const SCOPE_DOMAIN_PROTOCOL = 'http://'

См. определение в файле google.php строка 27

◆ SCOPE_FEED_CRAWLISSUES

const SCOPE_FEED_CRAWLISSUES = 'crawlissues/'

См. определение в файле google.php строка 24

◆ SCOPE_FEED_MESSAGES

const SCOPE_FEED_MESSAGES = 'messages/'

См. определение в файле google.php строка 25

◆ SCOPE_FEED_SITES

const SCOPE_FEED_SITES = 'sites'

См. определение в файле google.php строка 23

◆ SCOPE_USER

const SCOPE_USER = 'https://www.googleapis.com/auth/userinfo.profile'

См. определение в файле google.php строка 20

◆ SCOPE_VERIFY

const SCOPE_VERIFY = 'https://www.googleapis.com/auth/siteverification.verify_only'

См. определение в файле google.php строка 21


Объявления и описания членов класса находятся в файле: