method public

QuantityRestriction::__construct()

Класс: \Bitrix\Crm\Restriction\QuantityRestriction

Сигнатура

public __construct([mixed $name = '' ][, mixed $limit = 0 ]) : mixed

Параметры

$name mixed = ''
$limit mixed = 0

Возвращаемое значение

mixed

Как применяется в QuantityRestriction

QuantityRestriction::__construct() — метод класса \Bitrix\Crm\Restriction\QuantityRestriction модуля «CRM».

Конструктор: создаёт экземпляр QuantityRestriction.

use Bitrix\Main\Loader;
use Bitrix\Crm\Restriction\QuantityRestriction;

Loader::includeModule('crm');

$object = new QuantityRestriction();

Другие методы QuantityRestriction

__construct() есть и у других классов модуля «CRM»: ActivityMarkStatistics, ActivityMarkStatistics, ActivitySettings, ActivityStatistics, ActivityStatistics, ActivityStatusStatistics, ActivityStatusStatistics, ActivityStreamStatistics.

Исходный файл: source/crm/lib/restriction/quantityrestriction.php:8

Что будем искать? Например,Продвижение