LayoutSettings
Table of Contents
Methods
- __construct() : mixed
- enableCatalogPriceEdit() : void
- Enabled changing product prices from entity card
- enableCatalogPriceSave() : void
- Enabled saving product prices from entity card
- enableDedupeWizard() : void
- Enable dedupe wizard for duplicate control
- enableEntityCommodityItemCreation() : void
- Enabled creation commodity item into entities without creation into catalog
- enableFilePreviewerInKanbanAndGrid() : void
- enableFullCatalog() : void
- enableSimpleTimeFormat() : void
- Enable simple time format
- enableSlider() : void
- Enabled slider for edit and view actions
- enableUserNameSorting() : void
- Enable user name sorting
- getClientLayoutType() : int
- Get client layout type
- getCurrent() : LayoutSettings
- Get current instance
- isCatalogPriceEditEnabled() : bool
- isCatalogPriceSaveEnabled() : bool
- isCommonProductProcessingEnabled() : bool
- isCreationEntityCommodityItemAllowed() : bool
- Check if user is allowed to create commodity item into entities without creation into catalog
- isDedupeWizardEnabled() : bool
- Check if dedupe wizard enabled for duplicate control
- isFilePreviewerInKanbanAndGridEnabled() : bool
- isFullCatalogEnabled() : bool
- isSimpleTimeFormatEnabled() : bool
- Check if simple time format enabled for display system fields (CREATED, LAST_MODIFIED and etc)
- isSliderEnabled() : bool
- Check if slider enabled for edit and view actions
- isUserNameSortingEnabled() : bool
- Check if user name sorting enabled
- setClientLayoutType() : void
- Set client layout type
Methods
__construct()
public
__construct() : mixed
enableCatalogPriceEdit()
Enabled changing product prices from entity card
public
enableCatalogPriceEdit(bool $enabled) : void
Parameters
- $enabled : bool
-
Enabled Flag.
enableCatalogPriceSave()
Enabled saving product prices from entity card
public
enableCatalogPriceSave(bool $enabled) : void
Parameters
- $enabled : bool
-
Enabled Flag.
enableDedupeWizard()
Enable dedupe wizard for duplicate control
public
enableDedupeWizard(bool $enabled) : void
Parameters
- $enabled : bool
-
Enabled Flag.
enableEntityCommodityItemCreation()
Enabled creation commodity item into entities without creation into catalog
public
enableEntityCommodityItemCreation(bool $enabled) : void
Parameters
- $enabled : bool
-
Enabled Flag.
enableFilePreviewerInKanbanAndGrid()
public
enableFilePreviewerInKanbanAndGrid(bool $enabled) : void
Parameters
- $enabled : bool
enableFullCatalog()
public
enableFullCatalog(bool $enabled) : void
Parameters
- $enabled : bool
enableSimpleTimeFormat()
Enable simple time format
public
enableSimpleTimeFormat(bool $enabled) : void
Parameters
- $enabled : bool
-
Enabled Flag.
enableSlider()
Enabled slider for edit and view actions
public
enableSlider(bool $enabled) : void
Parameters
- $enabled : bool
-
Enabled Flag.
enableUserNameSorting()
Enable user name sorting
public
enableUserNameSorting(bool $enabled) : void
Parameters
- $enabled : bool
-
Enabled Flag.
getClientLayoutType()
Get client layout type
public
getClientLayoutType() : int
Return values
intgetCurrent()
Get current instance
public
static getCurrent() : LayoutSettings
Return values
LayoutSettingsisCatalogPriceEditEnabled()
public
isCatalogPriceEditEnabled() : bool
Check if user is allowed to change product prices from entity card
Return values
boolisCatalogPriceSaveEnabled()
public
isCatalogPriceSaveEnabled() : bool
Check if user is allowed to change product prices from entity card
Return values
boolisCommonProductProcessingEnabled()
public
isCommonProductProcessingEnabled() : bool
Return values
boolisCreationEntityCommodityItemAllowed()
Check if user is allowed to create commodity item into entities without creation into catalog
public
isCreationEntityCommodityItemAllowed() : bool
Return values
boolisDedupeWizardEnabled()
Check if dedupe wizard enabled for duplicate control
public
isDedupeWizardEnabled() : bool
Return values
boolisFilePreviewerInKanbanAndGridEnabled()
public
isFilePreviewerInKanbanAndGridEnabled() : bool
Return values
boolisFullCatalogEnabled()
public
isFullCatalogEnabled() : bool
Return values
boolisSimpleTimeFormatEnabled()
Check if simple time format enabled for display system fields (CREATED, LAST_MODIFIED and etc)
public
isSimpleTimeFormatEnabled() : bool
Return values
boolisSliderEnabled()
Check if slider enabled for edit and view actions
public
isSliderEnabled() : bool
Return values
boolisUserNameSortingEnabled()
Check if user name sorting enabled
public
isUserNameSortingEnabled() : bool
Return values
boolsetClientLayoutType()
Set client layout type
public
setClientLayoutType(int $layoutType) : void
Parameters
- $layoutType : int
-
Layout type (see \Bitrix\Crm\Layout\ClientLayoutType).