ShoppingCartThemeContentView
extends ThemeContentView
in package
implements
ShoppingCartContentViewInterface
Class ThemeContentView
Interfaces, Classes and Traits
- ShoppingCartContentViewInterface
Table of Contents
- $content_array : mixed
- $deprecated_array : mixed
- $v_cache_id_elements_array : mixed
- $v_caching_enabled : mixed
- $v_compile_check_enabled : mixed
- $v_content_template : mixed
- $v_coo_smarty : bool|GXSmarty
- $v_env_get_array : mixed
- $v_env_post_array : mixed
- $v_flat_assigns : mixed
- $v_min_deprecation_level : mixed
- $v_session_id_placeholder : mixed
- $v_template_dir : mixed
- $build_html : mixed
- $buttonBackUrl : mixed
- $cartCountContents : mixed
- $cartCountDisabledProducts : mixed
- $cartIsEmpty : mixed
- $customerStatusMaxOrder : mixed
- $customerStatusMinOrder : mixed
- $disabledProductNames : mixed
- $escape_html : mixed
- $giftCartHtml : mixed
- $hiddenFormOptions : mixed
- $itemsRemovedFromCart : mixed
- $languageCode : mixed
- $languagesId : mixed
- $messages : mixed
- $orderDetailsCartThemeContentView : mixed
- $paypal : mixed
- $products : mixed
- $seoBoost : mixed
- $sessionCart : mixed
- $sharedCartHtml : mixed
- $xtcPrice : mixed
- __construct() : mixed
- add_cache_id_elements() : mixed
- before_build_html() : mixed
- build_html() : mixed
- clear_cache_id_elements() : mixed
- get_cache_id() : mixed
- get_content_array() : mixed
- get_content_template() : mixed
- get_default_template() : string
- get the first template from folder
- get_flat_assigns() : mixed
- get_html() : mixed
- get_merged_deprecated_array() : mixed
- get_session_id_placeholder() : mixed
- getOrderDetailsCartContentView() : mixed
- getProductMessages() : mixed
- init_smarty() : mixed
- is_cached() : mixed
- is_caching_enabled() : mixed
- is_compile_check_enabled() : mixed
- prepare_data() : mixed
- replace_session_id_placeholder() : mixed
- search_deprecated_keys() : mixed
- set_caching_enabled() : mixed
- set_compile_check_enabled() : mixed
- set_content_data() : void
- Inject the content data to the template file that they are accessible in template with variables.
- set_content_template() : void
- Sets the content template file.
- set_content_template_from_string() : mixed
- Smarty can render templates from a string by using the string: or eval: resource.
- set_escape_html() : mixed
- Set whether HTML must be escaped automatically.
- set_flat_assigns() : mixed
- set_shopping_cart_button_template() : mixed
- set_shopping_cart_messages_template() : mixed
- set_template_dir() : void
- Sets the template directory path.
- setCart() : mixed
- setCartCountContents() : mixed
- setCartCountDisabledProducts() : void
- setCustomerStatusMaxOrder() : mixed
- setCustomerStatusMinOrder() : mixed
- setDisabledProductNames() : void
- setItemsRemovedFromCart() : void
- setLanguageCode() : mixed
- setLanguagesId() : mixed
- setProductMessages() : mixed
- setProducts() : mixed
- setXtcPrice() : mixed
- _getContentTypeSensitivePaymentModules() : mixed
- returns a list of payment modules which are sensitive to the type of products sold (physical/non-physical)
- _getProductAttributes() : mixed
- _resetInfoMessage() : mixed
- _setAmazonadvpayButton() : mixed
- _setButtonBackUrl() : mixed
- _setCheckoutButton() : mixed
- _setContentDataButtonsBackUrl() : mixed
- _setContentDataCartDisabledProduct() : void
- _setContentDataCartEmpty() : mixed
- _setContentDataCheckoutButtons() : mixed
- _setContentDataForm() : mixed
- _setContentDataGiftCart() : mixed
- _setContentDataHiddenOptions() : mixed
- _setContentDataInfoMessage() : mixed
- _setContentDataInfoMessage1() : mixed
- _setContentDataInfoMessage2() : mixed
- _setContentDataLightbox() : mixed
- _setContentDataMinMaxOrder() : mixed
- _setContentDataOrderAmount() : mixed
- _setContentDataOrderDetails() : mixed
- _setContentDataRedeemCouponCodeForm() : mixed
- _setContentDataSharedCart() : mixed
- _setContentDataShippingAndPaymentContentTitle() : mixed
- _setContentDataShippingAndPaymentInfoLink() : mixed
- _setContentDataShippingAndPaymentInfoLinkMobile() : mixed
- _setContentRemovedProductsMessage() : void
- _setContentsDataDeprecated() : mixed
- _setContentType() : mixed
- _setCustomerStatusAllowCheckout() : mixed
- _setGiftCart() : mixed
- _setInfoMessage() : mixed
- _setMinMaxOrderValue() : mixed
- _setOrderDetailsCartContentView() : mixed
- _setPaypalButton() : mixed
- PayPal-Buttons of deprecated module "paypalng". Deprecated since GX 2.4
- _setPaypalEcButton() : mixed
- Set Paypal EC-Button
- _setProductsGmWeight() : mixed
- _setSeoBoost() : mixed
- _setSessionValueAllowCheckout() : mixed
- _setSessionValueAnyOutOfStock() : mixed
- _setShareCart() : mixed
- _setShippingAndPaymentInfoLink() : mixed
- _setShippingCostsSelection() : mixed
- _unsetSessionValue() : mixed
- disabledProductMessageFormatString() : string
- is_admin_file() : bool
- is_extension_file() : bool
- paypalEcButtonConfiguration() : array<string|int, mixed>
- Create Configuration Array for the Paypal EC-Button
- set_deprecated_array() : mixed
Properties
$content_array
public
mixed
$content_array
= []
$deprecated_array
public
mixed
$deprecated_array
= []
$v_cache_id_elements_array
public
mixed
$v_cache_id_elements_array
= []
$v_caching_enabled
public
mixed
$v_caching_enabled
= alse
$v_compile_check_enabled
public
mixed
$v_compile_check_enabled
= alse
$v_content_template
public
mixed
$v_content_template
= ''
$v_coo_smarty
public
bool|GXSmarty
$v_coo_smarty
= alse
$v_env_get_array
public
mixed
$v_env_get_array
= []
$v_env_post_array
public
mixed
$v_env_post_array
= []
$v_flat_assigns
public
mixed
$v_flat_assigns
= alse
$v_min_deprecation_level
public
mixed
$v_min_deprecation_level
= 2
$v_session_id_placeholder
public
mixed
$v_session_id_placeholder
= '[#%_SESSION_ID_PLACEHOLDER_%#]'
$v_template_dir
public
mixed
$v_template_dir
= ''
$build_html
protected
mixed
$build_html
= rue
$buttonBackUrl
protected
mixed
$buttonBackUrl
$cartCountContents
protected
mixed
$cartCountContents
$cartCountDisabledProducts
protected
mixed
$cartCountDisabledProducts
= 0
$cartIsEmpty
protected
mixed
$cartIsEmpty
= alse
$customerStatusMaxOrder
protected
mixed
$customerStatusMaxOrder
$customerStatusMinOrder
protected
mixed
$customerStatusMinOrder
$disabledProductNames
protected
mixed
$disabledProductNames
$escape_html
protected
mixed
$escape_html
= alse
$giftCartHtml
protected
mixed
$giftCartHtml
$hiddenFormOptions
protected
mixed
$hiddenFormOptions
= ''
$itemsRemovedFromCart
protected
mixed
$itemsRemovedFromCart
$languageCode
protected
mixed
$languageCode
$languagesId
protected
mixed
$languagesId
= ''
$messages
protected
mixed
$messages
$orderDetailsCartThemeContentView
protected
mixed
$orderDetailsCartThemeContentView
$paypal
protected
mixed
$paypal
$products
protected
mixed
$products
$seoBoost
protected
mixed
$seoBoost
$sessionCart
protected
mixed
$sessionCart
$sharedCartHtml
protected
mixed
$sharedCartHtml
$xtcPrice
protected
mixed
$xtcPrice
Methods
__construct()
public
__construct() : mixed
Return values
mixed —add_cache_id_elements()
public
add_cache_id_elements(mixed $p_elements_array) : mixed
Parameters
- $p_elements_array : mixed
Return values
mixed —before_build_html()
public
before_build_html() : mixed
Return values
mixed —build_html()
public
build_html([mixed $p_content_data_array = false ][, mixed $p_template_file = false ]) : mixed
Parameters
- $p_content_data_array : mixed = false
- $p_template_file : mixed = false
Return values
mixed —clear_cache_id_elements()
public
clear_cache_id_elements() : mixed
Return values
mixed —get_cache_id()
public
get_cache_id() : mixed
Return values
mixed —get_content_array()
public
get_content_array([mixed $p_max_deprecation_level = false ]) : mixed
Parameters
- $p_max_deprecation_level : mixed = false
Return values
mixed —get_content_template()
public
get_content_template() : mixed
Return values
mixed —get_default_template()
get the first template from folder
public
get_default_template(string $filePath, string $prefix[, string $template = 'default' ]) : string
this function gets the first template from the folder, if the given filepath not an file
Parameters
- $filePath : string
-
Path to the templates
- $prefix : string
-
prefix of the type of template
- $template : string = 'default'
-
Name of the template
Return values
string —Template basename
get_flat_assigns()
public
get_flat_assigns() : mixed
Return values
mixed —get_html()
public
get_html() : mixed
Return values
mixed —get_merged_deprecated_array()
public
get_merged_deprecated_array([mixed $p_max_deprecation_level = false ]) : mixed
Parameters
- $p_max_deprecation_level : mixed = false
Return values
mixed —get_session_id_placeholder()
public
get_session_id_placeholder() : mixed
Return values
mixed —getOrderDetailsCartContentView()
public
getOrderDetailsCartContentView() : mixed
Return values
mixed —getProductMessages()
public
getProductMessages() : mixed
Return values
mixed —init_smarty()
public
init_smarty() : mixed
Return values
mixed —is_cached()
public
is_cached() : mixed
Return values
mixed —is_caching_enabled()
public
is_caching_enabled() : mixed
Return values
mixed —is_compile_check_enabled()
public
is_compile_check_enabled() : mixed
Return values
mixed —prepare_data()
public
prepare_data() : mixed
Return values
mixed —replace_session_id_placeholder()
public
replace_session_id_placeholder(mixed $p_content) : mixed
Parameters
- $p_content : mixed
Return values
mixed —search_deprecated_keys()
public
search_deprecated_keys(mixed $p_key_array, mixed &$p_array) : mixed
Parameters
- $p_key_array : mixed
- $p_array : mixed
Return values
mixed —set_caching_enabled()
public
set_caching_enabled(mixed $p_status) : mixed
Parameters
- $p_status : mixed
Return values
mixed —set_compile_check_enabled()
public
set_compile_check_enabled(mixed $p_status) : mixed
Parameters
- $p_status : mixed
Return values
mixed —set_content_data()
Inject the content data to the template file that they are accessible in template with variables.
public
set_content_data(mixed $p_content_name, mixed $p_content_item, mixed $p_deprecation_level) : void
Parameters
- $p_content_name : mixed
- $p_content_item : mixed
- $p_deprecation_level : mixed
Return values
void —set_content_template()
Sets the content template file.
public
set_content_template(mixed $p_filepath) : void
Parameters
- $p_filepath : mixed
Return values
void —set_content_template_from_string()
Smarty can render templates from a string by using the string: or eval: resource.
public
set_content_template_from_string(string $p_template[, bool $storeCompiledTemplate = true ]) : mixed
Parameters
- $p_template : string
- $storeCompiledTemplate : bool = true
-
If set on "true", each unique template string will create a new compiled template file. If your template strings are accessed frequently, this is a good choice. If you have frequently changing template strings (or strings with low reuse value), "false" may be a better choice, as it doesn't save compiled templates to disk.
Return values
mixed —set_escape_html()
Set whether HTML must be escaped automatically.
public
set_escape_html(bool $value) : mixed
Parameters
- $value : bool
Tags
Return values
mixed —set_flat_assigns()
public
set_flat_assigns(mixed $p_status) : mixed
Parameters
- $p_status : mixed
Return values
mixed —set_shopping_cart_button_template()
public
set_shopping_cart_button_template() : mixed
Return values
mixed —set_shopping_cart_messages_template()
public
set_shopping_cart_messages_template() : mixed
Return values
mixed —set_template_dir()
Sets the template directory path.
public
set_template_dir(mixed $p_dir_path) : void
Parameters
- $p_dir_path : mixed
Return values
void —setCart()
public
setCart(mixed $p_cart) : mixed
Parameters
- $p_cart : mixed
Return values
mixed —setCartCountContents()
public
setCartCountContents(mixed $p_countContents) : mixed
Parameters
- $p_countContents : mixed
Return values
mixed —setCartCountDisabledProducts()
public
setCartCountDisabledProducts(int $countDisabled) : void
Parameters
- $countDisabled : int
Return values
void —setCustomerStatusMaxOrder()
public
setCustomerStatusMaxOrder(mixed $p_customerStatusMaxOrder) : mixed
Parameters
- $p_customerStatusMaxOrder : mixed
Return values
mixed —setCustomerStatusMinOrder()
public
setCustomerStatusMinOrder(mixed $p_customerStatusMinOrder) : mixed
Parameters
- $p_customerStatusMinOrder : mixed
Return values
mixed —setDisabledProductNames()
public
setDisabledProductNames(string|null $names) : void
Parameters
- $names : string|null
Return values
void —setItemsRemovedFromCart()
public
setItemsRemovedFromCart(int $itemsRemovedFromCart) : void
Parameters
- $itemsRemovedFromCart : int
Return values
void —setLanguageCode()
public
setLanguageCode(mixed $p_languageCode) : mixed
Parameters
- $p_languageCode : mixed
Return values
mixed —setLanguagesId()
public
setLanguagesId(mixed $p_languageId) : mixed
Parameters
- $p_languageId : mixed
Return values
mixed —setProductMessages()
public
setProductMessages(array<string|int, mixed> $messages) : mixed
Parameters
- $messages : array<string|int, mixed>
Return values
mixed —setProducts()
public
setProducts(array<string|int, mixed> $products) : mixed
Parameters
- $products : array<string|int, mixed>
Return values
mixed —setXtcPrice()
public
setXtcPrice(xtcPrice $p_xtPrice) : mixed
Parameters
- $p_xtPrice : xtcPrice
Return values
mixed —_getContentTypeSensitivePaymentModules()
returns a list of payment modules which are sensitive to the type of products sold (physical/non-physical)
protected
_getContentTypeSensitivePaymentModules() : mixed
Overload this method if you need to extend this list!
Return values
mixed —_getProductAttributes()
protected
_getProductAttributes(mixed &$p_product) : mixed
Parameters
- $p_product : mixed
Return values
mixed —_resetInfoMessage()
protected
_resetInfoMessage() : mixed
Return values
mixed —_setAmazonadvpayButton()
protected
_setAmazonadvpayButton() : mixed
Return values
mixed —_setButtonBackUrl()
protected
_setButtonBackUrl() : mixed
Return values
mixed —_setCheckoutButton()
protected
_setCheckoutButton(array<string|int, mixed> $p_button) : mixed
Parameters
- $p_button : array<string|int, mixed>
Return values
mixed —_setContentDataButtonsBackUrl()
protected
_setContentDataButtonsBackUrl() : mixed
Return values
mixed —_setContentDataCartDisabledProduct()
protected
_setContentDataCartDisabledProduct() : void
Return values
void —_setContentDataCartEmpty()
protected
_setContentDataCartEmpty() : mixed
Return values
mixed —_setContentDataCheckoutButtons()
protected
_setContentDataCheckoutButtons(array<string|int, mixed> $p_checkoutButtons) : mixed
Parameters
- $p_checkoutButtons : array<string|int, mixed>
Return values
mixed —_setContentDataForm()
protected
_setContentDataForm() : mixed
Return values
mixed —_setContentDataGiftCart()
protected
_setContentDataGiftCart() : mixed
Return values
mixed —_setContentDataHiddenOptions()
protected
_setContentDataHiddenOptions(mixed $p_hiddenOptions) : mixed
Parameters
- $p_hiddenOptions : mixed
Return values
mixed —_setContentDataInfoMessage()
protected
_setContentDataInfoMessage(mixed $p_infoMessage) : mixed
Parameters
- $p_infoMessage : mixed
Return values
mixed —_setContentDataInfoMessage1()
protected
_setContentDataInfoMessage1(mixed $p_orderValue) : mixed
Parameters
- $p_orderValue : mixed
Return values
mixed —_setContentDataInfoMessage2()
protected
_setContentDataInfoMessage2(mixed $p_orderValue) : mixed
Parameters
- $p_orderValue : mixed
Return values
mixed —_setContentDataLightbox()
protected
_setContentDataLightbox() : mixed
Return values
mixed —_setContentDataMinMaxOrder()
protected
_setContentDataMinMaxOrder(mixed $p_minMax) : mixed
Parameters
- $p_minMax : mixed
Return values
mixed —_setContentDataOrderAmount()
protected
_setContentDataOrderAmount(mixed $p_amount) : mixed
Parameters
- $p_amount : mixed
Return values
mixed —_setContentDataOrderDetails()
protected
_setContentDataOrderDetails(mixed $p_orderDetailsHtml) : mixed
Parameters
- $p_orderDetailsHtml : mixed
Return values
mixed —_setContentDataRedeemCouponCodeForm()
protected
_setContentDataRedeemCouponCodeForm() : mixed
Return values
mixed —_setContentDataSharedCart()
protected
_setContentDataSharedCart() : mixed
Return values
mixed —_setContentDataShippingAndPaymentContentTitle()
protected
_setContentDataShippingAndPaymentContentTitle(mixed $p_contentTitle) : mixed
Parameters
- $p_contentTitle : mixed
Return values
mixed —_setContentDataShippingAndPaymentInfoLink()
protected
_setContentDataShippingAndPaymentInfoLink(mixed $p_contentUrl) : mixed
Parameters
- $p_contentUrl : mixed
Return values
mixed —_setContentDataShippingAndPaymentInfoLinkMobile()
protected
_setContentDataShippingAndPaymentInfoLinkMobile(mixed $p_contentUrl) : mixed
Parameters
- $p_contentUrl : mixed
Return values
mixed —_setContentRemovedProductsMessage()
protected
_setContentRemovedProductsMessage() : void
Return values
void —_setContentsDataDeprecated()
protected
_setContentsDataDeprecated() : mixed
Return values
mixed —_setContentType()
protected
_setContentType() : mixed
Return values
mixed —_setCustomerStatusAllowCheckout()
protected
_setCustomerStatusAllowCheckout() : mixed
Return values
mixed —_setGiftCart()
protected
_setGiftCart() : mixed
Return values
mixed —_setInfoMessage()
protected
_setInfoMessage() : mixed
Return values
mixed —_setMinMaxOrderValue()
protected
_setMinMaxOrderValue() : mixed
Return values
mixed —_setOrderDetailsCartContentView()
protected
_setOrderDetailsCartContentView() : mixed
Return values
mixed —_setPaypalButton()
PayPal-Buttons of deprecated module "paypalng". Deprecated since GX 2.4
protected
_setPaypalButton() : mixed
Return values
mixed —_setPaypalEcButton()
Set Paypal EC-Button
protected
_setPaypalEcButton() : mixed
Return values
mixed —_setProductsGmWeight()
protected
_setProductsGmWeight() : mixed
Return values
mixed —_setSeoBoost()
protected
_setSeoBoost() : mixed
Return values
mixed —_setSessionValueAllowCheckout()
protected
_setSessionValueAllowCheckout(mixed $p_allow) : mixed
Parameters
- $p_allow : mixed
Return values
mixed —_setSessionValueAnyOutOfStock()
protected
_setSessionValueAnyOutOfStock(mixed $p_value) : mixed
Parameters
- $p_value : mixed
Return values
mixed —_setShareCart()
protected
_setShareCart() : mixed
Return values
mixed —_setShippingAndPaymentInfoLink()
protected
_setShippingAndPaymentInfoLink() : mixed
Return values
mixed —_setShippingCostsSelection()
protected
_setShippingCostsSelection() : mixed
Return values
mixed —_unsetSessionValue()
protected
_unsetSessionValue(mixed $p_value) : mixed
Parameters
- $p_value : mixed
Return values
mixed —disabledProductMessageFormatString()
protected
disabledProductMessageFormatString(bool $plural) : string
Parameters
- $plural : bool
-
is there more than one product disabled?
Return values
string —format string for sprintf
is_admin_file()
protected
is_admin_file(mixed $p_full_template_path) : bool
Parameters
- $p_full_template_path : mixed
Return values
bool —is_extension_file()
protected
is_extension_file(string $filename) : bool
Parameters
- $filename : string
Return values
bool —paypalEcButtonConfiguration()
Create Configuration Array for the Paypal EC-Button
protected
paypalEcButtonConfiguration() : array<string|int, mixed>
Return values
array<string|int, mixed> —set_deprecated_array()
protected
set_deprecated_array() : mixed