10use Bitrix\Main\SystemException;
11use Bitrix\Seo\SearchEngineTable;
31 $this->engine = static::getEngine($this->engineId);
34 if(!is_array($this->engine))
40 if($this->engine[
'SETTINGS'] <>
'')
42 $this->engineSettings = unserialize($this->engine[
'SETTINGS'], [
'allowed_classes' =>
false]);
49 return $this->engine[
'ID'];
54 return $this->engine[
'CODE'];
59 return $this->engineSettings;
64 return $this->engine[
'CLIENT_ID'];
69 return $this->engine[
'CLIENT_SECRET'];
74 return ($this->engineSettings[
'AUTH'] ??
false);
79 unset($this->engineSettings[
'AUTH']);
85 SearchEngineTable::update($this->engine[
'ID'],
array(
86 'SETTINGS' => serialize($this->engineSettings)
93 return $dbEngine->fetch();
static getEngine($engineId)
const HTTP_STATUS_CREATED
const HTTP_STATUS_AUTHORIZATION
const HTTP_STATUS_NO_CONTENT
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)