WorkTime::getDictionaryArray

  1. Bitrix24 API (v. 23.675.0)
  2. crm
  3. WorkTime
  4. getDictionaryArray
  • Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/lib/sitebutton/worktime.php
  • Класс: Bitrix\Crm\SiteButton\WorkTime
  • Вызов: WorkTime::getDictionaryArray
static function getDictionaryArray()
{
	return array(
		'TIME_ZONE' => array(
			'ENABLED' => self::isTimeZoneEnabled(),
			'LIST' => self::getTimeZoneList(),
			'DEFAULT' => self::getTimeZoneByLanguage(),
		),
		'WEEK_DAY_LIST' => self::getDayOffList(),
		'NAMED_WEEK_DAY_LIST' => self::getDayOffNamedList(),
		'TIME_LIST' => self::getTimeList(),
		'ACTIONS' => array(
			'callback' => array(
				'' => Loc::getMessage('CRM_SITE_BUTTON_WORK_TIME_ACTIONS_HIDE'),
				'text' => Loc::getMessage('CRM_SITE_BUTTON_WORK_TIME_ACTIONS_TEXT'),
			)
		),
		'ACTION_TEXT' => array(
			'callback' => Loc::getMessage('CRM_SITE_BUTTON_WORK_TIME_ACTIONS_TEXT_CALLBACK'),
		)
	);
}

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