18 parent::__construct();
19 $this->options[
'clientId'] =
$options[
'clientId'];
47 $service = Configurator::getService();
51 $response = Configurator::searchTargetingData(
52 AdCampaignFacebook::TYPE_CODE,
55 'type' => static::SEARCH_TYPE
63 if(!isset($value[
'name']))
69 $title = $value[
'name']. ($topic ?
" ({$topic})" :
"");
74 'entityId' => static::ENTITY_TYPE,
76 'customData' => [
'audienceSize' => $value[
'audience_size']],
78 'bgColor' =>
"#{$this->stringToColor($title)}",
92 $hx = dechex(crc32(
$text));
94 return substr($hx, 0, 6);
__construct(array $options=[])
getSelectedItems(array $ids)
doSearch(SearchQuery $searchQuery, Dialog $dialog)
getOption(string $option, $defaultValue=null)
setCacheable(bool $flag=true)
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
htmlspecialcharsbx($string, $flags=ENT_COMPAT, $doubleEncode=true)