Settings
in package
Uses
GeneralSettings, EmailSettings, PaymentSettings, IntegrationsSettings, LicenseSettings
Tags
Table of Contents
- $author : mixed
- $productId : mixed
- $storeUrl : mixed
- $licenseKey : mixed
- __construct() : mixed
- activate() : mixed
- activateLicense() : mixed
- checkLicense() : stdClass|null
- deactivateLicense() : mixed
- getAdminEmail() : string
- getAuthor() : string
- getBookingCancellationPage() : int
- getBookingCancelledPage() : int
- getBusinessName() : string
- getConfirmationMode() : string
- getCountry() : string
- getCurrency() : string
- getCurrencyPosition() : string
- getCurrencySymbol() : string
- getDateFormat() : string
- getDecimalsCount() : int
- getDecimalSeparator() : string
- getDefaultAdminEmail() : string
- getDefaultBookingStatus() : string
- getDefaultEmailFooterText() : string
- getDefaultEmailLogoUrl() : string
- getDefaultFromName() : string
- getDefaultPaymentGateway() : string
- getDefaultPendingPaymentTime() : int
- getEmailBackgroundColor() : string
- getEmailBaseColor() : string
- getEmailBodyColor() : string
- getEmailFooterText() : string
- getEmailLogoUrl() : string
- getEmailSettings() : array<string|int, mixed>
- getEmailTextColor() : string
- getFailedTransactionPageId() : int
- getFailedTransactionPageUrl() : string
- getFirstDayOfWeek() : int
- getFromEmail() : string
- getFromName() : string
- getGeneralSettings() : array<string|int, mixed>
- getGoogleCalendarClientId() : string
- getGoogleCalendarClientSecret() : string
- getLicenseData() : stdClass|null
- getLicenseKey() : string
- getPaymentReceivedPageId() : int
- getPaymentReceivedPageUrl() : string
- getPaymentSettings() : array<string|int, mixed>
- getPendingPaymentTime() : int
- getPostDateTimeFormat() : string
- getProductId() : int
- getPublicPaymentSettings() : array<string|int, mixed>
- getPublicSettings() : array<string|int, mixed>
- getRenewUrl() : string
- getStoreUrl() : string
- getTermsPageIdForAcceptance() : int
- getThousandSeparator() : string
- getThumbnailSize() : array<string|int, mixed>
- getTimeFormat() : string
- getTimeStep() : int
- getTimeStepAlignment() : string
- hasEmailLogo() : bool
- init() : mixed
- isAdminConfirmationMode() : bool
- isAutoConfirmationMode() : bool
- isCouponsEnabled() : bool
- isLicenseEnabled() : bool
- isMultibookingEnabled() : bool
- isPaymentConfirmationMode() : bool
- isPaymentsEnabled() : bool
- An alias of <code>isPaymentConfirmationMode()</code>.
- isUserCanBookingCancellation() : bool
- needHideNotice() : bool
- setLicenseStatus() : mixed
- setNeedHideNotice() : mixed
- getLicenseSettings() : array<string|int, mixed>
Properties
$author
public
mixed
$author
$productId
public
mixed
$productId
$storeUrl
public
mixed
$storeUrl
$licenseKey
private
mixed
$licenseKey
Methods
__construct()
public
__construct() : mixed
Return values
mixed —activate()
public
activate() : mixed
Tags
Return values
mixed —activateLicense()
public
activateLicense() : mixed
Return values
mixed —checkLicense()
public
checkLicense() : stdClass|null
Return values
stdClass|null —deactivateLicense()
public
deactivateLicense() : mixed
Return values
mixed —getAdminEmail()
public
getAdminEmail() : string
Tags
Return values
string —getAuthor()
public
getAuthor() : string
Tags
Return values
string —getBookingCancellationPage()
public
getBookingCancellationPage() : int
Tags
Return values
int —getBookingCancelledPage()
public
getBookingCancelledPage() : int
Tags
Return values
int —getBusinessName()
public
getBusinessName() : string
Return values
string —getConfirmationMode()
public
getConfirmationMode() : string
Tags
Return values
string —getCountry()
public
getCountry() : string
Tags
Return values
string —getCurrency()
public
getCurrency() : string
Tags
Return values
string —Currency code, like 'EUR'.
getCurrencyPosition()
public
getCurrencyPosition() : string
Tags
Return values
string —getCurrencySymbol()
public
getCurrencySymbol() : string
Tags
Return values
string —getDateFormat()
public
getDateFormat() : string
Tags
Return values
string —getDecimalsCount()
public
getDecimalsCount() : int
Tags
Return values
int —getDecimalSeparator()
public
getDecimalSeparator() : string
Tags
Return values
string —getDefaultAdminEmail()
public
getDefaultAdminEmail() : string
Tags
Return values
string —WordPress admin email.
getDefaultBookingStatus()
public
getDefaultBookingStatus() : string
Tags
Return values
string —'pending' or 'confirmed'.
getDefaultEmailFooterText()
public
getDefaultEmailFooterText() : string
Tags
Return values
string —getDefaultEmailLogoUrl()
public
getDefaultEmailLogoUrl() : string
Tags
Return values
string —getDefaultFromName()
public
getDefaultFromName() : string
Tags
Return values
string —Blog name.
getDefaultPaymentGateway()
public
getDefaultPaymentGateway() : string
Tags
Return values
string —getDefaultPendingPaymentTime()
public
getDefaultPendingPaymentTime() : int
Tags
Return values
int —Default pending time (minutes).
getEmailBackgroundColor()
public
getEmailBackgroundColor() : string
Tags
Return values
string —getEmailBaseColor()
public
getEmailBaseColor() : string
Tags
Return values
string —getEmailBodyColor()
public
getEmailBodyColor() : string
Tags
Return values
string —getEmailFooterText()
public
getEmailFooterText() : string
Tags
Return values
string —getEmailLogoUrl()
public
getEmailLogoUrl() : string
Tags
Return values
string —getEmailSettings()
public
getEmailSettings() : array<string|int, mixed>
Tags
Return values
array<string|int, mixed> —getEmailTextColor()
public
getEmailTextColor() : string
Tags
Return values
string —getFailedTransactionPageId()
public
getFailedTransactionPageId() : int
Tags
Return values
int —getFailedTransactionPageUrl()
public
getFailedTransactionPageUrl() : string
Tags
Return values
string —getFirstDayOfWeek()
public
getFirstDayOfWeek() : int
Tags
Return values
int —getFromEmail()
public
getFromEmail() : string
Tags
Return values
string —getFromName()
public
getFromName() : string
Tags
Return values
string —getGeneralSettings()
public
getGeneralSettings() : array<string|int, mixed>
Tags
Return values
array<string|int, mixed> —getGoogleCalendarClientId()
public
getGoogleCalendarClientId() : string
Tags
Return values
string —getGoogleCalendarClientSecret()
public
getGoogleCalendarClientSecret() : string
Tags
Return values
string —getLicenseData()
public
getLicenseData() : stdClass|null
Tags
Return values
stdClass|null —getLicenseKey()
public
getLicenseKey() : string
Tags
Return values
string —getPaymentReceivedPageId()
public
getPaymentReceivedPageId() : int
Tags
Return values
int —getPaymentReceivedPageUrl()
public
getPaymentReceivedPageUrl() : string
Tags
Return values
string —getPaymentSettings()
public
getPaymentSettings() : array<string|int, mixed>
Tags
Return values
array<string|int, mixed> —getPendingPaymentTime()
public
getPendingPaymentTime() : int
Tags
Return values
int —Pending payment time (minutes).
getPostDateTimeFormat()
public
getPostDateTimeFormat([string $glue = ' @ ' ]) : string
Parameters
- $glue : string = ' @ '
-
Optional. Glue string to concatenate the date and time parts. ' @ ' by default.
Tags
Return values
string —getProductId()
public
getProductId() : int
Tags
Return values
int —getPublicPaymentSettings()
public
getPublicPaymentSettings() : array<string|int, mixed>
Tags
Return values
array<string|int, mixed> —getPublicSettings()
public
getPublicSettings() : array<string|int, mixed>
Tags
Return values
array<string|int, mixed> —getRenewUrl()
public
getRenewUrl() : string
Tags
Return values
string —getStoreUrl()
public
getStoreUrl() : string
Tags
Return values
string —getTermsPageIdForAcceptance()
public
getTermsPageIdForAcceptance() : int
Tags
Return values
int —getThousandSeparator()
public
getThousandSeparator() : string
Tags
Return values
string —getThumbnailSize()
public
getThumbnailSize() : array<string|int, mixed>
Tags
Return values
array<string|int, mixed> —[width, height]
getTimeFormat()
public
getTimeFormat() : string
Tags
Return values
string —getTimeStep()
public
getTimeStep() : int
Tags
Return values
int —Step for time slots (in minutes).
getTimeStepAlignment()
public
getTimeStepAlignment() : string
Tags
Return values
string —'hour'|'none'
hasEmailLogo()
public
hasEmailLogo() : bool
Tags
Return values
bool —init()
public
init() : mixed
Tags
Return values
mixed —isAdminConfirmationMode()
public
isAdminConfirmationMode() : bool
Tags
Return values
bool —isAutoConfirmationMode()
public
isAutoConfirmationMode() : bool
Tags
Return values
bool —isCouponsEnabled()
public
isCouponsEnabled() : bool
Tags
Return values
bool —isLicenseEnabled()
public
isLicenseEnabled() : bool
Tags
Return values
bool —isMultibookingEnabled()
public
isMultibookingEnabled() : bool
Tags
Return values
bool —isPaymentConfirmationMode()
public
isPaymentConfirmationMode() : bool
Tags
Return values
bool —isPaymentsEnabled()
An alias of <code>isPaymentConfirmationMode()</code>.
public
isPaymentsEnabled() : bool
Tags
Return values
bool —isUserCanBookingCancellation()
public
isUserCanBookingCancellation() : bool
Tags
Return values
bool —needHideNotice()
public
needHideNotice() : bool
Return values
bool —setLicenseStatus()
public
setLicenseStatus(string $status) : mixed
Parameters
- $status : string
Return values
mixed —setNeedHideNotice()
public
setNeedHideNotice(bool $isHide) : mixed
Parameters
- $isHide : bool
Return values
mixed —getLicenseSettings()
private
getLicenseSettings() : array<string|int, mixed>