OrderDetailsCartThemeContentView
extends ThemeContentView
in package
implements
OrderDetailsCartContentViewInterface
Class OrderDetailsCartThemeContentView
Interfaces, Classes and Traits
- OrderDetailsCartContentViewInterface
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
- $cart : mixed
- $cartShippingCostControl : mixed
- $cartShippingCostsThemeContentView : mixed
- $coo_products : mixed
- $customerStatus : mixed
- $discount : mixed
- $escape_html : mixed
- $giftCartThemeContentView : mixed
- $gprintCart : mixed
- $gprintContentManager : mixed
- $langFileMaster : mixed
- $language : mixed
- $main : mixed
- $moduleContent : mixed
- $products : mixed
- $productsCopy : mixed
- $productsQuantityArray : mixed
- $propertiesControl : mixed
- $propertiesView : mixed
- $sellingUnits : array<string|int, SellingUnit>
- $sessionAnyOutOfStock : mixed
- $shippingNumBoxes : mixed
- $shippingWeight : mixed
- $subtotal : mixed
- $total : mixed
- $xtcPrice : xtcPrice_ORIGIN
- __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
- 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_order_item_template() : mixed
- set_order_total_template() : mixed
- set_template_dir() : void
- Sets the template directory path.
- setCartShippingCostsControl() : mixed
- setCartShippingCostsThemeContentView() : mixed
- setGiftCartThemeContentView() : mixed
- setGprintContentManager() : mixed
- setLangFileMaster() : mixed
- setMain() : mixed
- setProducts() : mixed
- setPropertiesControl() : mixed
- setPropertiesView() : mixed
- setXtcPrice() : mixed
- _addAttributesModelToProductModel() : mixed
- Add attribute option value model numbers to product's model number.
- _checkSellingUnitQuantity() : mixed
- _deleteEmptyAttributes() : mixed
- _fixProductId() : string
- _getCheckMarkStock() : mixed
- _getCombisId() : mixed
- _getImageThumbnailPath() : mixed
- _getPrice() : mixed
- _getProductAttributes() : mixed
- _getProductId() : mixed
- _getProductLink() : mixed
- _getProductModelAddCombi() : mixed
- _getProductsModel() : mixed
- _getProductsWeight() : mixed
- _getPropertiesHtml() : mixed
- _getSessionVariablesGlobals() : mixed
- _getShippingTime() : mixed
- _setButtonBackUrl() : mixed
- _setContentCouponInfo() : mixed
- _setContentDataButtonsBackUrl() : mixed
- _setContentDataDiscountText() : mixed
- _setContentDataDiscountValue() : mixed
- _setContentDataGiftCartContentView() : mixed
- _setContentDataLanguage() : mixed
- _setContentDataModuleContent() : mixed
- _setContentDataShippingCostsSelection() : mixed
- _setContentDataShippingInfoExcl() : mixed
- _setContentDataShippingInfoGabmioultra() : mixed
- _setContentDataShippingInfoShippingCosts() : mixed
- _setContentDataShippingInfoShippingCostsValue() : mixed
- _setContentDataShippingInfoShippingLink() : mixed
- _setContentDataShippingWeight() : mixed
- _setContentDataShowShippingWeight() : mixed
- _setContentDataShowShippingWeightInfo() : mixed
- _setContentDataSubTotal() : mixed
- _setContentDataTaxData() : mixed
- _setContentDataTaxFreeText() : mixed
- _setContentDataTotal() : mixed
- _setContentGiftVoucher() : mixed
- _setCustomerDiscount() : mixed
- _setDiscount() : mixed
- _setOrderTotals() : mixed
- _setSessionVariables() : mixed
- _setShippingInfo() : mixed
- _setShippingWeightInfo() : mixed
- _setTaxData() : mixed
- _setTaxText() : mixed
- application() : Application
- createProduct() : product_ORIGIN
- getCouponDetails() : array<string|int, mixed>|null
- Retrieves details about a coupon.
- getCustomerGVBalance() : float
- Returns a customer’s current balance from coupons/vouchers.
- getMainProductImageAltText() : string
- getSellingUnitByProductArray() : SellingUnit
- is_admin_file() : bool
- is_extension_file() : bool
- mainProductImage() : string
- sellingUnitIdByProductArray() : SellingUnitId
- sellingUnitIdFactory() : SellingUnitIdFactoryInterface
- sellingUnitReadService() : SellingUnitReadServiceInterface
- 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
$cart
protected
mixed
$cart
$cartShippingCostControl
protected
mixed
$cartShippingCostControl
$cartShippingCostsThemeContentView
protected
mixed
$cartShippingCostsThemeContentView
$coo_products
protected
mixed
$coo_products
$customerStatus
protected
mixed
$customerStatus
$discount
protected
mixed
$discount
= 0
$escape_html
protected
mixed
$escape_html
= alse
$giftCartThemeContentView
protected
mixed
$giftCartThemeContentView
$gprintCart
protected
mixed
$gprintCart
$gprintContentManager
protected
mixed
$gprintContentManager
$langFileMaster
protected
mixed
$langFileMaster
$language
protected
mixed
$language
$main
protected
mixed
$main
$moduleContent
protected
mixed
$moduleContent
= []
$products
protected
mixed
$products
$productsCopy
protected
mixed
$productsCopy
$productsQuantityArray
protected
mixed
$productsQuantityArray
= []
$propertiesControl
protected
mixed
$propertiesControl
$propertiesView
protected
mixed
$propertiesView
$sellingUnits
protected
array<string|int, SellingUnit>
$sellingUnits
= []
$sessionAnyOutOfStock
protected
mixed
$sessionAnyOutOfStock
= 0
$shippingNumBoxes
protected
mixed
$shippingNumBoxes
$shippingWeight
protected
mixed
$shippingWeight
$subtotal
protected
mixed
$subtotal
= 0
$total
protected
mixed
$total
= 0
$xtcPrice
protected
xtcPrice_ORIGIN
$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 —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_order_item_template()
public
set_order_item_template() : mixed
Return values
mixed —set_order_total_template()
public
set_order_total_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 —setCartShippingCostsControl()
public
setCartShippingCostsControl(mixed $p_cartShippingCostsControl) : mixed
Parameters
- $p_cartShippingCostsControl : mixed
Return values
mixed —setCartShippingCostsThemeContentView()
public
setCartShippingCostsThemeContentView(mixed $p_cartShippingCostsThemeContentView) : mixed
Parameters
- $p_cartShippingCostsThemeContentView : mixed
Return values
mixed —setGiftCartThemeContentView()
public
setGiftCartThemeContentView(mixed $p_giftCart) : mixed
Parameters
- $p_giftCart : mixed
Return values
mixed —setGprintContentManager()
public
setGprintContentManager(mixed $p_gprintContentManager) : mixed
Parameters
- $p_gprintContentManager : mixed
Return values
mixed —setLangFileMaster()
public
setLangFileMaster(mixed $p_langFileMaster) : mixed
Parameters
- $p_langFileMaster : mixed
Return values
mixed —setMain()
public
setMain(main $p_main) : mixed
Parameters
- $p_main : main
Return values
mixed —setProducts()
public
setProducts(array<string|int, mixed> $p_products) : mixed
Parameters
- $p_products : array<string|int, mixed>
Return values
mixed —setPropertiesControl()
public
setPropertiesControl(mixed $p_propertiesControl) : mixed
Parameters
- $p_propertiesControl : mixed
Return values
mixed —setPropertiesView()
public
setPropertiesView(mixed $p_propertiesView) : mixed
Parameters
- $p_propertiesView : mixed
Return values
mixed —setXtcPrice()
public
setXtcPrice(xtcPrice $p_xtPrice) : mixed
Parameters
- $p_xtPrice : xtcPrice
Return values
mixed —_addAttributesModelToProductModel()
Add attribute option value model numbers to product's model number.
protected
_addAttributesModelToProductModel(array<string|int, mixed> &$productArray) : mixed
Parameters
- $productArray : array<string|int, mixed>
Return values
mixed —_checkSellingUnitQuantity()
protected
_checkSellingUnitQuantity() : mixed
Return values
mixed —_deleteEmptyAttributes()
protected
_deleteEmptyAttributes(mixed &$p_moduleContent, mixed $p_product, mixed $p_value) : mixed
Parameters
- $p_moduleContent : mixed
- $p_product : mixed
- $p_value : mixed
Return values
mixed —_fixProductId()
protected
_fixProductId( $productId) : string
Parameters
Return values
string —_getCheckMarkStock()
protected
_getCheckMarkStock(SellingUnitInterface $sellingUnit) : mixed
Parameters
- $sellingUnit : SellingUnitInterface
Return values
mixed —_getCombisId()
protected
_getCombisId(array<string|int, mixed> $p_product) : mixed
Parameters
- $p_product : array<string|int, mixed>
Return values
mixed —_getImageThumbnailPath()
protected
_getImageThumbnailPath(array<string|int, mixed> $p_product) : mixed
Parameters
- $p_product : array<string|int, mixed>
Return values
mixed —_getPrice()
protected
_getPrice() : mixed
Return values
mixed —_getProductAttributes()
protected
_getProductAttributes(mixed $p_product, mixed $p_combisId, mixed $p_markStock, mixed &$p_moduleContent) : mixed
Parameters
- $p_product : mixed
- $p_combisId : mixed
- $p_markStock : mixed
- $p_moduleContent : mixed
Return values
mixed —_getProductId()
protected
_getProductId(mixed $p_productId) : mixed
Parameters
- $p_productId : mixed
Return values
mixed —_getProductLink()
protected
_getProductLink(mixed $p_product) : mixed
Parameters
- $p_product : mixed
Return values
mixed —_getProductModelAddCombi()
protected
_getProductModelAddCombi(mixed $p_combisId, mixed $p_productsModel, mixed $productId) : mixed
Parameters
- $p_combisId : mixed
- $p_productsModel : mixed
- $productId : mixed
Return values
mixed —_getProductsModel()
protected
_getProductsModel(mixed $p_product, mixed $p_combisId) : mixed
Parameters
- $p_product : mixed
- $p_combisId : mixed
Return values
mixed —_getProductsWeight()
protected
_getProductsWeight(mixed $p_product, mixed $p_combisId) : mixed
Parameters
- $p_product : mixed
- $p_combisId : mixed
Return values
mixed —_getPropertiesHtml()
protected
_getPropertiesHtml(mixed $p_combisId) : mixed
Parameters
- $p_combisId : mixed
Return values
mixed —_getSessionVariablesGlobals()
protected
_getSessionVariablesGlobals() : mixed
Return values
mixed —_getShippingTime()
protected
_getShippingTime(mixed $p_product, mixed $p_combisId) : mixed
Parameters
- $p_product : mixed
- $p_combisId : mixed
Return values
mixed —_setButtonBackUrl()
protected
_setButtonBackUrl() : mixed
Return values
mixed —_setContentCouponInfo()
protected
_setContentCouponInfo() : mixed
Return values
mixed —_setContentDataButtonsBackUrl()
protected
_setContentDataButtonsBackUrl() : mixed
Return values
mixed —_setContentDataDiscountText()
protected
_setContentDataDiscountText() : mixed
Return values
mixed —_setContentDataDiscountValue()
protected
_setContentDataDiscountValue() : mixed
Return values
mixed —_setContentDataGiftCartContentView()
protected
_setContentDataGiftCartContentView() : mixed
Return values
mixed —_setContentDataLanguage()
protected
_setContentDataLanguage() : mixed
Return values
mixed —_setContentDataModuleContent()
protected
_setContentDataModuleContent() : mixed
Return values
mixed —_setContentDataShippingCostsSelection()
protected
_setContentDataShippingCostsSelection(mixed $p_html) : mixed
Parameters
- $p_html : mixed
Return values
mixed —_setContentDataShippingInfoExcl()
protected
_setContentDataShippingInfoExcl(mixed $p_shippingExcl) : mixed
Parameters
- $p_shippingExcl : mixed
Return values
mixed —_setContentDataShippingInfoGabmioultra()
protected
_setContentDataShippingInfoGabmioultra(mixed $p_shippingGambioultra) : mixed
Parameters
- $p_shippingGambioultra : mixed
Return values
mixed —_setContentDataShippingInfoShippingCosts()
protected
_setContentDataShippingInfoShippingCosts(mixed $p_shippingCosts) : mixed
Parameters
- $p_shippingCosts : mixed
Return values
mixed —_setContentDataShippingInfoShippingCostsValue()
protected
_setContentDataShippingInfoShippingCostsValue(mixed $p_shippingCostsValue) : mixed
Parameters
- $p_shippingCostsValue : mixed
Return values
mixed —_setContentDataShippingInfoShippingLink()
protected
_setContentDataShippingInfoShippingLink(mixed $p_shippingLink) : mixed
Parameters
- $p_shippingLink : mixed
Return values
mixed —_setContentDataShippingWeight()
protected
_setContentDataShippingWeight(mixed $p_shippingWeight) : mixed
Parameters
- $p_shippingWeight : mixed
Return values
mixed —_setContentDataShowShippingWeight()
protected
_setContentDataShowShippingWeight(mixed $p_show) : mixed
Parameters
- $p_show : mixed
Return values
mixed —_setContentDataShowShippingWeightInfo()
protected
_setContentDataShowShippingWeightInfo(mixed $p_showShippingWeightInfo) : mixed
Parameters
- $p_showShippingWeightInfo : mixed
Return values
mixed —_setContentDataSubTotal()
protected
_setContentDataSubTotal() : mixed
Return values
mixed —_setContentDataTaxData()
protected
_setContentDataTaxData(array<string|int, mixed> $p_taxArray) : mixed
Parameters
- $p_taxArray : array<string|int, mixed>
Return values
mixed —_setContentDataTaxFreeText()
protected
_setContentDataTaxFreeText() : mixed
Return values
mixed —_setContentDataTotal()
protected
_setContentDataTotal([mixed $totalValueText = null ]) : mixed
Parameters
- $totalValueText : mixed = null
Return values
mixed —_setContentGiftVoucher()
protected
_setContentGiftVoucher() : mixed
Return values
mixed —_setCustomerDiscount()
protected
_setCustomerDiscount() : mixed
Return values
mixed —_setDiscount()
protected
_setDiscount(mixed $p_price) : mixed
Parameters
- $p_price : mixed
Return values
mixed —_setOrderTotals()
protected
_setOrderTotals() : mixed
Return values
mixed —_setSessionVariables()
protected
_setSessionVariables() : mixed
Return values
mixed —_setShippingInfo()
protected
_setShippingInfo() : mixed
Return values
mixed —_setShippingWeightInfo()
protected
_setShippingWeightInfo() : mixed
Return values
mixed —_setTaxData()
protected
_setTaxData() : mixed
Return values
mixed —_setTaxText()
protected
_setTaxText() : mixed
Return values
mixed —application()
protected
application() : Application
Return values
Application —createProduct()
protected
createProduct(SellingUnitId $sellingUnitId) : product_ORIGIN
Parameters
- $sellingUnitId : SellingUnitId
Return values
product_ORIGIN —getCouponDetails()
Retrieves details about a coupon.
protected
getCouponDetails(IdType $couponID) : array<string|int, mixed>|null
Parameters
- $couponID : IdType
Return values
array<string|int, mixed>|null —getCustomerGVBalance()
Returns a customer’s current balance from coupons/vouchers.
protected
getCustomerGVBalance(IdType $customerID) : float
Parameters
- $customerID : IdType
Return values
float —getMainProductImageAltText()
protected
getMainProductImageAltText(array<string|int, mixed> $products, $index) : string
Parameters
Return values
string —getSellingUnitByProductArray()
protected
getSellingUnitByProductArray(array<string|int, mixed> $products, string $index) : SellingUnit
Parameters
- $products : array<string|int, mixed>
- $index : string
Return values
SellingUnit —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 —mainProductImage()
protected
mainProductImage(array<string|int, mixed> $products, $index) : string
Parameters
Return values
string —sellingUnitIdByProductArray()
protected
sellingUnitIdByProductArray(array<string|int, mixed> $product) : SellingUnitId
Parameters
- $product : array<string|int, mixed>
Return values
SellingUnitId —sellingUnitIdFactory()
protected
sellingUnitIdFactory() : SellingUnitIdFactoryInterface
Return values
SellingUnitIdFactoryInterface —sellingUnitReadService()
protected
sellingUnitReadService() : SellingUnitReadServiceInterface
Return values
SellingUnitReadServiceInterface —set_deprecated_array()
protected
set_deprecated_array() : mixed