• Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/lib/color/phasecolorscheme.php
  • Класс: Bitrix\Crm\Color\PhaseColorScheme
  • Вызов: PhaseColorScheme::setupByDefault
public function setupByDefault()
{
	$this->reset();
	$names = $this->getElementNames();
	for($i = 0, $length = count($names); $i < $length; $i++)
	{
		$this->addElement(new PhaseColorSchemeElement($names[$i], $this->getDefaultColor($names[$i], $i)));
	}
}