Bitrix API

DynamicTypesLimit

Table of Contents

Constants

ERROR_CODE_CREATE_ITEM_RESTRICTED  = 'CREATE_DYNAMIC_ITEM_RESTRICTED'
ERROR_CODE_CREATE_TYPE_RESTRICTED  = 'CREATE_DYNAMIC_TYPE_RESTRICTED'
ERROR_CODE_UPDATE_ITEM_RESTRICTED  = 'UPDATE_DYNAMIC_ITEM_RESTRICTED'
ERROR_CODE_UPDATE_TYPE_RESTRICTED  = 'UPDATE_DYNAMIC_TYPE_RESTRICTED'
FEATURE_NAME  = 'crm_smart_processes'

Methods

__construct()  : mixed
canShowRestrictionSlider()  : bool
getCreateItemRestrictedError()  : Error
getCreateTypeRestrictedError()  : Error
getCreateTypeRestrictionSliderCode()  : string
getShowFeatureJsFunctionString()  : string
getShowFeatureJsHandler()  : JsHandler
getUpdateItemRestrictedError()  : Error
getUpdateTypeRestrictedError()  : Error
isCreateItemRestricted()  : bool
Return true if creating of new item of type with $entityTypeId is restricted.
isCreateTypeRestricted()  : bool
Return true if creating of new dynamic types is restricted.
isEnabled()  : bool
Return true if this restriction is enabled.
isTypeSettingsRestricted()  : bool
Return true if config of type with $entityTypeId is restricted.
isUpdateItemRestricted()  : bool
Return true if updating of an item of type with $entityTypeId is restricted.

Constants

ERROR_CODE_CREATE_ITEM_RESTRICTED

public mixed ERROR_CODE_CREATE_ITEM_RESTRICTED = 'CREATE_DYNAMIC_ITEM_RESTRICTED'

ERROR_CODE_CREATE_TYPE_RESTRICTED

public mixed ERROR_CODE_CREATE_TYPE_RESTRICTED = 'CREATE_DYNAMIC_TYPE_RESTRICTED'

ERROR_CODE_UPDATE_ITEM_RESTRICTED

public mixed ERROR_CODE_UPDATE_ITEM_RESTRICTED = 'UPDATE_DYNAMIC_ITEM_RESTRICTED'

ERROR_CODE_UPDATE_TYPE_RESTRICTED

public mixed ERROR_CODE_UPDATE_TYPE_RESTRICTED = 'UPDATE_DYNAMIC_TYPE_RESTRICTED'

Methods

canShowRestrictionSlider()

public canShowRestrictionSlider() : bool
Return values
bool

getCreateItemRestrictedError()

public getCreateItemRestrictedError() : Error
Return values
Error

getCreateTypeRestrictedError()

public getCreateTypeRestrictedError() : Error
Return values
Error

getCreateTypeRestrictionSliderCode()

public getCreateTypeRestrictionSliderCode() : string
Return values
string

getShowFeatureJsFunctionString()

public getShowFeatureJsFunctionString() : string
Return values
string

getUpdateItemRestrictedError()

public getUpdateItemRestrictedError() : Error
Return values
Error

getUpdateTypeRestrictedError()

public getUpdateTypeRestrictedError() : Error
Return values
Error

isCreateItemRestricted()

Return true if creating of new item of type with $entityTypeId is restricted.

public isCreateItemRestricted(int $entityTypeId) : bool
Parameters
$entityTypeId : int
Return values
bool

isCreateTypeRestricted()

Return true if creating of new dynamic types is restricted.

public isCreateTypeRestricted() : bool
Return values
bool

isEnabled()

Return true if this restriction is enabled.

public isEnabled() : bool
Return values
bool

isTypeSettingsRestricted()

Return true if config of type with $entityTypeId is restricted.

public isTypeSettingsRestricted(int $entityTypeId) : bool
Parameters
$entityTypeId : int
Return values
bool

isUpdateItemRestricted()

Return true if updating of an item of type with $entityTypeId is restricted.

public isUpdateItemRestricted(int $entityTypeId) : bool
Parameters
$entityTypeId : int
Return values
bool

        
On this page

Search results