MainSettings
in package

Table of Contents

$adminDatepickThemes  : mixed
$countriesBundle  : mixed
$customerBundle  : mixed
$datepickThemes  : array<string|int, mixed>
$defaultConfirmationMode  : mixed
$defaultUserApprovalTime  : mixed
__construct()  : mixed
allowCustomersCreateAccount()  : bool
allowCustomersLogIn()  : bool
automaticallyCreateUser()  : bool
canUserCancelBooking()  : bool
deleteSyncLogsOlderThan()  : string
displayImportedBookings()  : bool
exportBlockedAccommodations()  : mixed
exportImportedBookings()  : mixed
getAdminDatepickerThemesList()  : array<string|int, mixed>
getAdultsListForSearch()  : array<string|int, mixed>
getAveragePricePeriod()  : int
getBedTypesList()  : array<string|int, mixed>
getCheckoutText()  : string
getChildrenAgeText()  : string
getChildrenListForSearch()  : array<string|int, mixed>
getConfirmationMode()  : string
Retrieve confirmation mode. Possible values 'manual', 'auto', 'payment'.
getCountriesBundle()  : CountriesBundle
getCustomerBundle()  : CustomerBundle
getDatepickerAdminTheme()  : mixed
getDatepickerCurrentTheme()  : mixed
getDatepickerTheme()  : string
getDatepickerThemeClass()  : string
getDatepickerThemesList()  : array<string|int, mixed>
getDefaultConfirmationMode()  : mixed
getDefaultCountry()  : string
getDefaultUserApprovalTime()  : mixed
getDirectBookingPricing()  : string
getDisabledBookingText()  : string
getGuestManagementStatus()  : string
getMinAdults()  : int
getMinChildren()  : int
getSearchMaxAdults()  : int
getSearchMaxChildren()  : int
getTemplateMode()  : string
Retrieve template mode. Possible values: plugin, theme.
getTermsAndConditionsText()  : string
getUserApprovalTime()  : int
isAdultsAllowed()  : bool
isAdultsDisabledOrHidden()  : bool
isBookingDisabled()  : bool
isBookingRulesForAdminDisabled()  : bool
isChildrenAllowed()  : bool
isChildrenDisabledOrHidden()  : bool
isCouponsEnabled()  : bool
isCustomerRequiredOnAdmin()  : bool
isDirectBooking()  : bool
isDirectRoomBooking()  : bool
isDirectSearchResultsBooking()  : bool
isEnabledRecommendation()  : mixed
isGuestsHiddenInSearch()  : bool
isMinimizedSyncLogs()  : bool
isPluginTemplateMode()  : bool
Check whether to use templates from plugin
isPriceBreakdownUnfoldedByDefault()  : mixed
isRequireCountry()  : bool
isRequireFullAddress()  : bool
isRoomTypeCalendarShowPrices()  : mixed
isRoomTypeCalendarShowPricesCurrency()  : mixed
isRoomTypeCalendarTruncatePrices()  : mixed
isUseSingleRoomTypeGalleryMagnific()  : mixed
showExtensionLinks()  : bool
useBlockEditorForRoomTypes()  : mixed
useBlockEditorForServices()  : mixed
getTranslatedOption()  : mixed

Properties

$adminDatepickThemes

private mixed $adminDatepickThemes
Tags
since
3.9

$countriesBundle

private mixed $countriesBundle

$customerBundle

private mixed $customerBundle = null

$datepickThemes

private array<string|int, mixed> $datepickThemes

$defaultConfirmationMode

private mixed $defaultConfirmationMode = 'auto'

$defaultUserApprovalTime

private mixed $defaultUserApprovalTime = 20

Methods

__construct()

public __construct() : mixed
Return values
mixed —

allowCustomersCreateAccount()

public allowCustomersCreateAccount() : bool
Tags
since
4.2.0
Return values
bool —

allowCustomersLogIn()

public allowCustomersLogIn() : bool
Tags
since
4.2.0
Return values
bool —

automaticallyCreateUser()

public automaticallyCreateUser() : bool
Tags
since
4.2.0
Return values
bool —

canUserCancelBooking()

public canUserCancelBooking() : bool
Return values
bool —

deleteSyncLogsOlderThan()

public deleteSyncLogsOlderThan() : string
Tags
since
3.6.1
Return values
string —

displayImportedBookings()

public displayImportedBookings([null|int $userId = null ][, null|bool $setValue = null ]) : bool
Parameters
$userId : null|int = null

Optional. Current user by default.

$setValue : null|bool = null

Optional. If set, will update the value.

Return values
bool —

exportBlockedAccommodations()

public exportBlockedAccommodations() : mixed
Return values
mixed —

exportImportedBookings()

public exportImportedBookings() : mixed
Return values
mixed —

getAdminDatepickerThemesList()

public getAdminDatepickerThemesList() : array<string|int, mixed>
Tags
since
3.9
Return values
array<string|int, mixed> —

getAdultsListForSearch()

public getAdultsListForSearch() : array<string|int, mixed>
Return values
array<string|int, mixed> —

getAveragePricePeriod()

public getAveragePricePeriod() : int
Return values
int —

getBedTypesList()

public getBedTypesList() : array<string|int, mixed>
Return values
array<string|int, mixed> —

getCheckoutText()

public getCheckoutText() : string
Return values
string —

containing html

getChildrenAgeText()

public getChildrenAgeText() : string
Return values
string —

getChildrenListForSearch()

public getChildrenListForSearch() : array<string|int, mixed>
Return values
array<string|int, mixed> —

getConfirmationMode()

Retrieve confirmation mode. Possible values 'manual', 'auto', 'payment'.

public getConfirmationMode() : string
Return values
string —

getCustomerBundle()

public getCustomerBundle() : CustomerBundle
Tags
since
3.7.2
Return values
CustomerBundle —

getDatepickerAdminTheme()

public getDatepickerAdminTheme() : mixed
Return values
mixed —

getDatepickerCurrentTheme()

public getDatepickerCurrentTheme() : mixed
Return values
mixed —

getDatepickerTheme()

public getDatepickerTheme() : string
Return values
string —

getDatepickerThemeClass()

public getDatepickerThemeClass() : string
Return values
string —

getDatepickerThemesList()

public getDatepickerThemesList() : array<string|int, mixed>
Return values
array<string|int, mixed> —

getDefaultConfirmationMode()

public getDefaultConfirmationMode() : mixed
Return values
mixed —

getDefaultCountry()

public getDefaultCountry() : string
Return values
string —

getDefaultUserApprovalTime()

public getDefaultUserApprovalTime() : mixed
Return values
mixed —

getDirectBookingPricing()

public getDirectBookingPricing() : string
Tags
since
3.8.3
Return values
string —

"disabled"|"enabled"|"capacity"

getDisabledBookingText()

public getDisabledBookingText() : string
Return values
string —

getGuestManagementStatus()

public getGuestManagementStatus() : string
Return values
string —

getMinAdults()

public getMinAdults() : int
Return values
int —

getMinChildren()

public getMinChildren() : int
Return values
int —

getSearchMaxAdults()

public getSearchMaxAdults() : int
Return values
int —

getSearchMaxChildren()

public getSearchMaxChildren() : int
Return values
int —

getTemplateMode()

Retrieve template mode. Possible values: plugin, theme.

public getTemplateMode() : string
Return values
string —

getTermsAndConditionsText()

public getTermsAndConditionsText() : string
Return values
string —

containing html

getUserApprovalTime()

public getUserApprovalTime() : int
Return values
int —

Minutes

isAdultsAllowed()

public isAdultsAllowed() : bool
Return values
bool —

isAdultsDisabledOrHidden()

public isAdultsDisabledOrHidden() : bool
Return values
bool —

isBookingDisabled()

public isBookingDisabled() : bool
Return values
bool —

isBookingRulesForAdminDisabled()

public isBookingRulesForAdminDisabled() : bool
Tags
since
3.9.9
Return values
bool —

isChildrenAllowed()

public isChildrenAllowed() : bool
Return values
bool —

isChildrenDisabledOrHidden()

public isChildrenDisabledOrHidden() : bool
Return values
bool —

isCouponsEnabled()

public isCouponsEnabled() : bool
Return values
bool —

isCustomerRequiredOnAdmin()

public isCustomerRequiredOnAdmin() : bool
Tags
since
3.6.1
Return values
bool —

isDirectBooking()

public isDirectBooking() : bool
Return values
bool —

isDirectRoomBooking()

public isDirectRoomBooking() : bool
Tags
since
3.7.3
Return values
bool —

isDirectSearchResultsBooking()

public isDirectSearchResultsBooking() : bool
Tags
since
3.7.3
Return values
bool —

isEnabledRecommendation()

public isEnabledRecommendation() : mixed
Return values
mixed —

isGuestsHiddenInSearch()

public isGuestsHiddenInSearch() : bool
Return values
bool —

isMinimizedSyncLogs()

public isMinimizedSyncLogs() : bool
Tags
since
4.2.2
Return values
bool —

isPluginTemplateMode()

Check whether to use templates from plugin

public isPluginTemplateMode() : bool
Return values
bool —

isPriceBreakdownUnfoldedByDefault()

public isPriceBreakdownUnfoldedByDefault() : mixed
Return values
mixed —

isRequireCountry()

public isRequireCountry() : bool
Return values
bool —

isRequireFullAddress()

public isRequireFullAddress() : bool
Return values
bool —

isRoomTypeCalendarShowPrices()

public isRoomTypeCalendarShowPrices() : mixed
Return values
mixed —

isRoomTypeCalendarShowPricesCurrency()

public isRoomTypeCalendarShowPricesCurrency() : mixed
Return values
mixed —

isRoomTypeCalendarTruncatePrices()

public isRoomTypeCalendarTruncatePrices() : mixed
Return values
mixed —

isUseSingleRoomTypeGalleryMagnific()

public isUseSingleRoomTypeGalleryMagnific() : mixed
Return values
mixed —
public showExtensionLinks() : bool
Return values
bool —

useBlockEditorForRoomTypes()

public useBlockEditorForRoomTypes() : mixed
Return values
mixed —

useBlockEditorForServices()

public useBlockEditorForServices() : mixed
Return values
mixed —

getTranslatedOption()

private getTranslatedOption(string $name[, mixed $default = '' ]) : mixed
Parameters
$name : string
$default : mixed = ''

Optional.

Return values
mixed —

Search results