См. определение в файле yandex.php строка 20
◆ __construct()
◆ addOriginalText()
addOriginalText |
( |
| $text, |
|
|
| $domain ) |
Send original text to webmaster
- Аргументы
-
- Возвращает
- string
- Исключения
-
См. определение в файле yandex.php строка 349
◆ addSite()
Add site to webmaster. After adding you need verify rights at this site.
- Аргументы
-
- Возвращает
- array
- Исключения
-
См. определение в файле yandex.php строка 374
◆ getAuthSettings()
◆ getFeeds()
◆ getOriginalTexts()
getOriginalTexts |
( |
| $domain | ) |
|
◆ getSiteInfo()
Collect info about site by two different methods: info and statistic
- Аргументы
-
- Возвращает
- array
См. определение в файле yandex.php строка 171
◆ getSiteInfoQueries()
getSiteInfoQueries |
( |
| $domain | ) |
|
Get info about popular queries for domain
- Аргументы
-
- Возвращает
- array
- Исключения
-
См. определение в файле yandex.php строка 217
◆ getVerifySiteUin()
getVerifySiteUin |
( |
| $domain | ) |
|
Just checking verify status of site and get UIN for verification
- Аргументы
-
- Возвращает
- UIN if site not verified and FALSE if site already verify.
- Исключения
-
См. определение в файле yandex.php строка 398
◆ query()
query |
( |
| $scope, |
|
|
| $method = "GET", |
|
|
| $data = NULL, |
|
|
| $skipRefreshAuth = false ) |
|
protected |
Create HTTP client, set necessary headers and set request
- Аргументы
-
| $scope | - URL of service with additional params, if needed |
string | $method | - may be POST, GET or DELETE |
null | $data | |
bool | $skipRefreshAuth | |
- Возвращает
- HttpClient
Переопределяет метод предка YandexBase.
См. определение в файле yandex.php строка 502
◆ queryOld()
queryOld |
( |
| $scope, |
|
|
| $method = "GET", |
|
|
| $data = NULL, |
|
|
| $skipRefreshAuth = false ) |
|
protected |
- Аргументы
-
| $scope | |
string | $method | |
null | $data | |
bool | $skipRefreshAuth | |
- Возвращает
- \CHTTP
См. определение в файле yandex.php строка 451
◆ verifySite()
verifySite |
( |
| $domain, |
|
|
| $verType = 'HTML_FILE' ) |
◆ $arServiceList
◆ $engineId
◆ API_BASE_URL
const API_BASE_URL = "https://api.webmaster.yandex.net/v3/user/" |
◆ API_HOSTS_URL
const API_HOSTS_URL = "hosts/" |
◆ API_ORIGINAL_TEXTS_URL
const API_ORIGINAL_TEXTS_URL = "original-texts/" |
◆ API_POPULAR_URL
const API_POPULAR_URL = "search-queries/popular/" |
◆ API_SAMPLES_URL
const API_SAMPLES_URL = "links/external/samples/" |
◆ API_SUMMARY_URL
const API_SUMMARY_URL = "summary/" |
◆ API_VERIFICATION_URL
const API_VERIFICATION_URL = "verification/" |
◆ ENGINE_ID
const ENGINE_ID = 'yandex' |
◆ HOST_EXCLUDED
const HOST_EXCLUDED = "excluded-urls" |
◆ HOST_INDEXED
const HOST_INDEXED = "indexed-urls" |
◆ HOST_INFO
const HOST_INFO = "host-information" |
◆ HOST_ORIGINAL_TEXTS
const HOST_ORIGINAL_TEXTS = "original-texts" |
◆ HOST_TOP_QUERIES
const HOST_TOP_QUERIES = "top-queries" |
◆ HOST_VERIFY
const HOST_VERIFY = "verify-host" |
◆ HOSTS_SERVICE
const HOSTS_SERVICE = "host-list" |
◆ INDEXING_STATE_OK
const INDEXING_STATE_OK = "OK" |
◆ ORIGINAL_TEXT_MAX_LENGTH
const ORIGINAL_TEXT_MAX_LENGTH = 32000 |
◆ ORIGINAL_TEXT_MIN_LENGTH
const ORIGINAL_TEXT_MIN_LENGTH = 500 |
◆ ORIGINAL_TEXT_SHOW_COUNT
const ORIGINAL_TEXT_SHOW_COUNT = 50 |
◆ QUERY_USER
const QUERY_USER = 'https://login.yandex.ru/info' |
◆ SERVICE_URL
const SERVICE_URL = "https://webmaster.yandex.ru/api/v2" |
◆ VERIFIED_STATE_FAILED
const VERIFIED_STATE_FAILED = "VERIFICATION_FAILED" |
◆ VERIFIED_STATE_IN_PROGRESS
const VERIFIED_STATE_IN_PROGRESS = "IN_PROGRESS" |
◆ VERIFIED_STATE_NEVER_VERIFIED
const VERIFIED_STATE_NEVER_VERIFIED = "NEVER_VERIFIED" |
◆ VERIFIED_STATE_VERIFIED
const VERIFIED_STATE_VERIFIED = "VERIFIED" |
◆ VERIFIED_STATE_WAITING
const VERIFIED_STATE_WAITING = "WAITING" |