phpDocumentor

ProductInfoThemeContentView extends ThemeContentView
in package

Class ProductInfoThemeContentView

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
$additionalFields  : mixed
$appendPropertiesModel  : mixed
$attributeImageLists  : ImageListsCollection
$attributeStockCheck  : mixed
$build_html  : mixed
$cheapestCombiArray  : mixed
$collectionType  : string
$combiId  : mixed
$currency  : mixed
$currentCategoryId  : mixed
$currentCombiArray  : mixed
$customerDiscount  : mixed
$customerStatusId  : mixed
$escape_html  : mixed
$fsk18DisplayAllowed  : mixed
$fsk18PurchaseAllowed  : mixed
$getArray  : mixed
$hasProperties  : mixed
$imageListReadService  : ProductImageListReadServiceInterface
$imageLists  : ImageListsCollection
$imageReadService  : ImageReadServiceInterface
$language  : mixed
$languageId  : mixed
$lastListingSql  : mixed
$main  : mixed
$manufacturerReadService  : ManufacturerReadServiceInterface
$maxImageHeight  : mixed
$modifier_ids  : ModifierIdentifierCollectionInterface
$modifierGroups  : ModifiersCollectionInterface
$offerAggregationLimit  : mixed
$postArray  : mixed
$product  : product_ORIGIN
$productIdentifier  : mixed
$productPriceArray  : mixed
$selling_unit  : SellingUnitInterface
$selling_unit_id  : SellingUnitId
$seoBoost  : GMSEOBoost_ORIGIN
$showGraduatedPrices  : mixed
$showPrice  : mixed
$showPriceTax  : mixed
$stockAllowCheckout  : mixed
$stockCheck  : mixed
$VPEReadService  : VPEReadServiceInterface
$xtcPrice  : xtcPrice_ORIGIN
__construct()  : mixed
ProductInfoThemeContentView constructor.
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
getAdditionalFields()  : array<string|int, mixed>
getCombiId()  : int
getCurrency()  : string
getCurrentCategoryId()  : int
getCustomerDiscount()  : float
getCustomerStatusId()  : int
getFSK18DisplayAllowed()  : bool
getFSK18PurchaseAllowed()  : bool
getGetArray()  : array<string|int, mixed>
getLanguage()  : string
getLanguageId()  : int
getLastListingSql()  : string
getMain()  : main
getOfferAggregationLimit()  : int
getPostArray()  : array<string|int, mixed>
getProduct()  : product
getSeoBoost()  : GMSEOBoost_ORIGIN
getShowGraduatedPrices()  : bool
getShowPrice()  : bool
getXtcPrice()  : xtcPrice
init_smarty()  : mixed
is_cached()  : mixed
is_caching_enabled()  : mixed
is_compile_check_enabled()  : mixed
isAppendPropertiesModel()  : bool
isAttributeStockCheck()  : bool
isStockAllowCheckout()  : bool
isStockCheck()  : bool
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_selling_unit_id()  : void
set_template_dir()  : void
Sets the template directory path.
setAdditionalFields()  : mixed
setAppendPropertiesModel()  : ProductInfoThemeContentView
setAttributeStockCheck()  : ProductInfoThemeContentView
setCombiId()  : mixed
setCurrency()  : mixed
setCurrentCategoryId()  : mixed
setCustomerDiscount()  : mixed
setCustomerStatusId()  : mixed
setFSK18DisplayAllowed()  : mixed
setFSK18PurchaseAllowed()  : mixed
setGetArray()  : mixed
$_GET-Data
setLanguage()  : mixed
setLanguageId()  : mixed
setLastListingSql()  : mixed
setMain()  : mixed
setOfferAggregationLimit()  : mixed
setPostArray()  : mixed
$_POST-Data
setProduct()  : mixed
setSeoBoost()  : void
setShowGraduatedPrices()  : mixed
setShowPrice()  : mixed
setShowPriceTax()  : ProductInfoThemeContentView
setStockAllowCheckout()  : ProductInfoThemeContentView
setStockCheck()  : ProductInfoThemeContentView
setXtcPrice()  : mixed
_assignAdditionalFields()  : mixed
_assignAlsoPurchased()  : mixed
_assignCrossSelling()  : mixed
_assignDate()  : mixed
_assignDeactivatedButtonFlag()  : mixed
_assignDeprecatedDimensionValues()  : mixed
_assignDeprecatedFormTagData()  : mixed
_assignDeprecatedIdHiddenField()  : mixed
_assignDeprecatedPrintLink()  : mixed
_assignDeprecatedPurchaseData()  : mixed
_assignDeprecatedWishlist()  : mixed
_assignDescription()  : mixed
_assignDiscount()  : mixed
_assignEan()  : mixed
_assignErrorMessages()  : mixed
get all the error messages from the sellingUnit
_assignFacebook()  : mixed
_assignFormTagData()  : mixed
_assignGPrint()  : mixed
GX-Customizer
_assignGraduatedPrices()  : mixed
_assignId()  : mixed
_assignImageData()  : mixed
_assignImageMaxHeight()  : mixed
_assignInputFieldQuantity()  : mixed
_assignItemCondition()  : mixed
_assignLegalAgeFlag()  : mixed
_assignModelNumber()  : mixed
_assignModifiers()  : mixed
_assignName()  : mixed
_assignNumberOfOrders()  : mixed
_assignPinterest()  : mixed
_assignPrice()  : mixed
assign formated price or link to contact form if price status is "Preis auf Anfrage"
_assignPriceOffer()  : mixed
_assignProductData()  : mixed
_assignProductLists()  : mixed
_assignProductNavigator()  : mixed
_assignProductUrl()  : mixed
_assignPropertiesSelectionForm()  : mixed
_assignQuantity()  : mixed
_assignReverseCrossSelling()  : mixed
_assignReviews()  : mixed
_assignRichSnippetData()  : mixed
_assignShippingLink()  : mixed
_assignShippingTime()  : mixed
_assignSocialServices()  : mixed
_assignStatus()  : mixed
_assignTaxInfo()  : mixed
_assignTellAFriend()  : mixed
_assignTwitter()  : mixed
_assignVpe()  : mixed
_assignWeight()  : mixed
_assignWhatsApp()  : mixed
_assignWidgets()  : mixed
_assignWishlist()  : mixed
_buildVpeHtml()  : string
_getMediaContentHtml()  : string
_init_combi_data()  : mixed
_isAvailableQuantityNotValid()  : bool
_isSelectedQuantityAboveMaximumAllowedQuantity()  : bool
_isSelectedQuantityBelowMinimum()  : bool
_isSelectedQuantityGranularityInvalid()  : bool
_isSelectedQuantityInsufficient()  : bool
_isSelectedQuantityInvalid()  : bool
_productHasPropertiesButNoneSelected()  : bool
_productIsForSale()  : bool
_setPaypalEcButton()  : mixed
Set Paypal EC-Button
_showPrice()  : bool
_updateProductViewsStatistic()  : mixed
_updateTracking()  : mixed
createGroupRepositoryFactory()  : GroupRepositoryFactory
createModifierGroupsThemeContentView()  : ModifierGroupsThemeContentView
createModifierIdentifierCollection()  : ModifierIdentifierCollection
getCollectionType()  : string
getCombinationImages()  : array<string|int, mixed>
getImageListByAttributesId()  : ImageList
getImagesForAttributeIds()  : array<string|int, mixed>
getManufacturerById()  : null|ManufacturerInterface
getNumberOfVariants()  : int
getProductAttributesIds()  : array<string|int, mixed>
getProductImage()  : array<string|int, string>|string
getProductImageList()  : ImageList
getProductNavigatorCategoryId()  : int|null
getProductPropertiesCombis()  : array<string|int, mixed>
getVPEById()  : null|VPEInterface
incrementArray()  : bool
Helper for iterating through combinations of attributes.
infoImagesPathFromOriginalImages()  : string
init_groups()  : void
init_selling_unit()  : void
is_admin_file()  : bool
is_extension_file()  : bool
manufacturerReader()  : ManufacturerReadServiceInterface
paypalEcButtonConfiguration()  : array<string|int, mixed>
Create Configuration Array for the Paypal EC-Button
productIsInCategory()  : bool
set_deprecated_array()  : mixed
VPEReadService()  : VPEReadServiceInterface

Properties

$v_session_id_placeholder

public mixed $v_session_id_placeholder = '[#%_SESSION_ID_PLACEHOLDER_%#]'

Methods

__construct()

ProductInfoThemeContentView constructor.

public __construct([string $p_template = 'default' ]) : mixed
Parameters
$p_template : string = 'default'
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

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_content_array()

public get_content_array([mixed $p_max_deprecation_level = false ]) : mixed
Parameters
$p_max_deprecation_level : mixed = false
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_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

is_compile_check_enabled()

public is_compile_check_enabled() : 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_flat_assigns()

public set_flat_assigns(mixed $p_status) : mixed
Parameters
$p_status : 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

setAdditionalFields()

public setAdditionalFields(array<string|int, mixed> $p_additionalFields) : mixed
Parameters
$p_additionalFields : array<string|int, mixed>
Return values
mixed

setCurrentCategoryId()

public setCurrentCategoryId(int $p_categoryId) : mixed
Parameters
$p_categoryId : int
Return values
mixed

setCustomerDiscount()

public setCustomerDiscount(float $p_customerDiscount) : mixed
Parameters
$p_customerDiscount : float
Return values
mixed

setCustomerStatusId()

public setCustomerStatusId(int $p_customerStatusId) : mixed
Parameters
$p_customerStatusId : int
Return values
mixed

setFSK18DisplayAllowed()

public setFSK18DisplayAllowed(bool $p_FSK18DisplayAllowed) : mixed
Parameters
$p_FSK18DisplayAllowed : bool
Return values
mixed

setFSK18PurchaseAllowed()

public setFSK18PurchaseAllowed(bool $p_FSK18PurchaseAllowed) : mixed
Parameters
$p_FSK18PurchaseAllowed : bool
Return values
mixed

setGetArray()

$_GET-Data

public setGetArray(array<string|int, mixed> $getArray) : mixed
Parameters
$getArray : array<string|int, mixed>
Return values
mixed

setLastListingSql()

public setLastListingSql(string $p_lastListingSql) : mixed
Parameters
$p_lastListingSql : string
Return values
mixed

setOfferAggregationLimit()

public setOfferAggregationLimit(int $offerAggregationLimit) : mixed
Parameters
$offerAggregationLimit : int
Return values
mixed

setPostArray()

$_POST-Data

public setPostArray(array<string|int, mixed> $postArray) : mixed
Parameters
$postArray : array<string|int, mixed>
Return values
mixed

setSeoBoost()

public setSeoBoost(GMSEOBoost_ORIGIN $seoBoost) : void
Parameters
$seoBoost : GMSEOBoost_ORIGIN
Return values
void

setShowGraduatedPrices()

public setShowGraduatedPrices(bool $p_showGraduatedPrices) : mixed
Parameters
$p_showGraduatedPrices : bool
Return values
mixed

_assignErrorMessages()

get all the error messages from the sellingUnit

protected _assignErrorMessages() : mixed
Return values
mixed

_assignPrice()

assign formated price or link to contact form if price status is "Preis auf Anfrage"

protected _assignPrice() : mixed
Return values
mixed

_assignPropertiesSelectionForm()

protected _assignPropertiesSelectionForm( $propertiesSelectionForm) : mixed
Parameters
$propertiesSelectionForm :
Return values
mixed

_buildVpeHtml()

protected _buildVpeHtml( $price,  $vpeId,  $vpeValue) : string
Parameters
$price :
$vpeId :
$vpeValue :
Return values
string

_isSelectedQuantityAboveMaximumAllowedQuantity()

protected _isSelectedQuantityAboveMaximumAllowedQuantity() : bool
Return values
bool

createGroupRepositoryFactory()

protected createGroupRepositoryFactory() : GroupRepositoryFactory
Return values
GroupRepositoryFactory

createModifierIdentifierCollection()

protected createModifierIdentifierCollection() : ModifierIdentifierCollection
Return values
ModifierIdentifierCollection

getCombinationImages()

protected getCombinationImages( $combi) : array<string|int, mixed>
Parameters
$combi :
Return values
array<string|int, mixed>

getImageListByAttributesId()

protected getImageListByAttributesId(int $attributesId) : ImageList
Parameters
$attributesId : int
Return values
ImageList

getImagesForAttributeIds()

protected getImagesForAttributeIds(array<string|int, mixed> $attributeIds) : array<string|int, mixed>
Parameters
$attributeIds : array<string|int, mixed>
Return values
array<string|int, mixed>

getProductAttributesIds()

protected getProductAttributesIds(string $uPID, array<string|int, mixed> $attributeMap) : array<string|int, mixed>
Parameters
$uPID : string
$attributeMap : array<string|int, mixed>
Return values
array<string|int, mixed>

getProductImage()

protected getProductImage(product_ORIGIN $product) : array<string|int, string>|string
Parameters
$product : product_ORIGIN
Tags
throws
Exception
Return values
array<string|int, string>|string

getProductImageList()

protected getProductImageList(int $imageListId) : ImageList
Parameters
$imageListId : int
Return values
ImageList

getProductPropertiesCombis()

protected getProductPropertiesCombis( $productsId) : array<string|int, mixed>
Parameters
$productsId :
Return values
array<string|int, mixed>

incrementArray()

Helper for iterating through combinations of attributes.

protected incrementArray( &$attribSet,  $counts) : bool
Parameters
$attribSet :
$counts :
Return values
bool

infoImagesPathFromOriginalImages()

protected infoImagesPathFromOriginalImages(WebFilePath $path) : string
Parameters
$path : WebFilePath
Return values
string

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
Return values
mixed

Search results