9use \Bitrix\Main\Localization\Loc;
11Loc::loadMessages(__FILE__);
25 return (
new \ReflectionClass(__CLASS__))->getConstants();
33 $res = (new \ReflectionClass(__CLASS__))->getConstants();
37 $result[$id] = Loc::getMessage(
"VOTE_ANONYMITY_TYPE_".
$code);
47 return array_values(self::getList());
57 if ($voteValue === self::ANONYMOUSLY)
59 else if ($voteValue === self::PUBLICLY)
61 return $userValue !==
false;
65 return Loc::getMessage(
"VOTE_ANONYMITY_TITLE");
static isUserVoteVisible(bool $userValue, int $voteValue)
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
if(!is_null($config))($config as $configItem)(! $configItem->isVisible()) $code