• Модуль: sale
  • Путь к файлу: ~/bitrix/modules/sale/lib/discount/preset/basepreset.php
  • Класс: BitrixSaleDiscountPresetBasePreset
  • Вызов: BasePreset::getTitle
public function getTitle();

/**
 * @deprecated
 * @see BasePreset::getAvailableState
 *
 * Tells if preset is available or not. It's possible that preset can't work in some license.
 * @return bool
 */
public function isAvailable()
{
	return $this->getAvailableState() === self::AVAILABLE_STATE_ALLOW;
}