method
public
static
Base::canRenderControl()
Сигнатура
public static canRenderControl(int $renderMode) : bool
Параметры
$renderMode
int
Режим отрисовки элемента управления.
Возвращаемое значение
bool
Как применяется в Base
Base::canRenderControl() — метод класса \Bitrix\Bizproc\BaseType\Base модуля «Бизнес-процессы».
Статический метод — вызывается через имя класса Base, без создания объекта.
use Bitrix\Main\Loader;
use Bitrix\Bizproc\BaseType\Base;
Loader::includeModule('bizproc');
$renderMode = 1;
$result = Base::canRenderControl($renderMode);
// $result: boolДругие методы Base
addError()addErrors()addFormat()clearValueMultiple()clearValueSingle()compareValues()convertFrom()convertPropertyToView()convertTo()convertValueMultiple()convertValueSingle()externalizeValue()
canRenderControl() есть и у других классов модуля «Бизнес-процессы»: BoolType, Date, Datetime, Double, FieldType, File, InternalSelect, IntType.
Исходный файл: source/bizproc/lib/basetype/base.php:459

