1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
Google.php
См. документацию.
1<?php
2
4
10
15{
17
23 public function getSites(): Response
24 {
25 return $this->getRequest()->send([
26 'methodName' => 'webmaster.sites.get',
27 ]);
28 }
29
36 public function addSite(string $site): Response
37 {
38 return $this->getRequest()->send([
39 'methodName' => 'webmaster.sites.add',
40 'parameters' => [
41 'site' => HtmlFilter::encode($site),
42 ],
43 ]);
44 }
45
54 {
55 return $this->getRequest()->send([
56 'methodName' => 'webmaster.verify.token.get',
57 'parameters' => [
58 'data' => Json::encode($data),
59 ],
60 ]);
61 }
62
70 public function verifySite(array $data): Response
71 {
72 return $this->getRequest()->send([
73 'methodName' => 'webmaster.verify.site',
74 'parameters' => [
75 'data' => Json::encode($data),
76 ],
77 ]);
78 }
79}
Определения response.php:5
static encode($string, $flags=ENT_COMPAT, $doubleEncode=true)
Определения htmlfilter.php:12
Определения json.php:9
verifySite(array $data)
Определения Google.php:70
const TYPE_CODE
Определения Google.php:16
getVerifyToken(array $data)
Определения Google.php:53
addSite(string $site)
Определения Google.php:36
const TYPE_GOOGLE
Определения Service.php:16
$data['IS_AVAILABLE']
Определения .description.php:13
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
Определения file_new.php:804
$site
Определения yandex_run.php:614