Rights::switchMode

  1. Bitrix24 API (v. 23.675.0)
  2. landing
  3. Rights
  4. switchMode
  • Модуль: landing
  • Путь к файлу: ~/bitrix/modules/landing/lib/rights.php
  • Класс: BitrixLandingRights
  • Вызов: Rights::switchMode
static function switchMode()
{
	if (self::isFeatureOn())
	{
		$current = Manager::getOption('rights_extended_mode', 'N');
		$current = ($current == 'Y') ? 'N' : 'Y';
		Manager::setOption('rights_extended_mode', $current);
	}
}

Добавить комментарий