Methods
__construct
__construct( $p_get_array = false, $p_post_array = false)
inherited
_assignAdditionalFields
_assignAdditionalFields()
_assignAlsoPurchased
_assignAlsoPurchased()
_assignAttributes
_assignAttributes()
_assignCrossSelling
_assignCrossSelling()
_assignDate
_assignDate()
_assignDeprecatedDimensionValues
_assignDeprecatedDimensionValues()
_assignDeprecatedIdHiddenField
_assignDeprecatedIdHiddenField()
_assignDeprecatedPrintLink
_assignDeprecatedPrintLink()
_assignDeprecatedPurchaseData
_assignDeprecatedPurchaseData()
_assignDeprecatedWishlist
_assignDeprecatedWishlist()
_assignDescription
_assignDescription()
_assignDiscount
_assignDiscount()
_assignFacebook
_assignFacebook()
_assignGMotion
_assignGMotion()
GX-Customizer
_assignGPrint()
_assignGraduatedPrices
_assignGraduatedPrices()
_assignImageData
_assignImageData()
_assignImageMaxHeight
_assignImageMaxHeight()
_assignItemCondition
_assignItemCondition()
_assignLegalAgeFlag
_assignLegalAgeFlag()
_assignModelNumber
_assignModelNumber()
_assignModifiers
_assignModifiers()
_assignName
_assignName()
_assignNumberOfOrders
_assignNumberOfOrders()
_assignPayPalInstallments
_assignPayPalInstallments()
_assignPinterest
_assignPinterest()
assign formated price or link to contact form if price status is "Preis auf Anfrage"
_assignPrice()
_assignPriceOffer
_assignPriceOffer()
_assignPrintLink
_assignPrintLink()
_assignProductData
_assignProductData()
_assignProductLists
_assignProductLists()
_assignProductNavigator
_assignProductNavigator()
_assignProductUrl
_assignProductUrl()
_assignQuantity
_assignQuantity()
_assignReverseCrossSelling
_assignReverseCrossSelling()
_assignReviews
_assignReviews()
_assignRichSnippetData
_assignRichSnippetData()
_assignShippingLink
_assignShippingLink()
_assignShippingTime
_assignShippingTime()
_assignSocialServices
_assignSocialServices()
_assignStatus
_assignStatus()
_assignTaxInfo
_assignTaxInfo()
_assignTellAFriend
_assignTellAFriend()
_assignWeight
_assignWeight()
_assignWhatsApp
_assignWhatsApp()
_assignWishlist
_assignWishlist()
_assignYoochoose
_assignYoochoose()
_buildVpeHtml
_buildVpeHtml( $price, $vpeId, $vpeValue) : string
Arguments
Response
string
_getMediaContentHtml
_getMediaContentHtml() : string
_init_combi_data
_init_combi_data()
_productIsForSale
_productIsForSale() : boolean
_setPropertiesData
_setPropertiesData()
_showPrice
_showPrice() : boolean
_updateProductViewsStatistic
_updateProductViewsStatistic()
_updateTracking
_updateTracking()
add_cache_id_elements
add_cache_id_elements( $p_elements_array)
inherited
before_build_html
before_build_html()
inherited
build_html
build_html( $p_content_data_array = false, $p_template_file = false)
inherited
clear_cache_id_elements
clear_cache_id_elements()
inherited
get_cache_id
get_cache_id()
inherited
get_content_array
get_content_array( $p_max_deprecation_level = false)
inherited
get_content_template
get_content_template()
inherited
get the first template from folder
get_default_template(string $filePath, string $prefix, string $template = 'default') : string
inherited
this function gets the first template from the folder,
if the given filepath not an file
Arguments
$filePath
stringPath to the templates
$prefix
stringprefix of the type of template
$template
stringName of the template
Response
stringTemplate basename
get_flat_assigns
get_flat_assigns()
inherited
get_html
get_html()
inherited
get_merged_deprecated_array
get_merged_deprecated_array( $p_max_deprecation_level = false)
inherited
get_session_id_placeholder
get_session_id_placeholder()
inherited
getAdditionalFields
getAdditionalFields() : array
getCombiId
getCombiId() : integer
getCurrency
getCurrency() : string
getCurrentCategoryId
getCurrentCategoryId() : integer
getCustomerDiscount
getCustomerDiscount() : double
getCustomerStatusId
getCustomerStatusId() : integer
getFSK18DisplayAllowed
getFSK18DisplayAllowed() : boolean
getFSK18PurchaseAllowed
getFSK18PurchaseAllowed() : boolean
getGetArray
getGetArray() : array
getLanguage
getLanguage() : string
getLanguageId
getLanguageId() : integer
getLastListingSql
getLastListingSql() : string
getMain
getMain() : \main
getManufacturerById
getManufacturerById( $id) : null|\ManufacturerInterface
getNumberOfVariants
getNumberOfVariants( $productsId) : integer
Arguments
Response
integer
getOfferAggregationLimit
getOfferAggregationLimit() : integer
getPostArray
getPostArray() : array
getProduct
getProduct() : \product
getProductPropertiesCombis
getProductPropertiesCombis( $productsId) : array
getSeoBoost
getSeoBoost() : \GMSEOBoost_ORIGIN
Response
\GMSEOBoost_ORIGIN
getShowGraduatedPrices
getShowGraduatedPrices() : boolean
getShowPrice
getShowPrice() : boolean
getVPEById
getVPEById(\IdType $id) : null|\VPEInterface
getXtcPrice
getXtcPrice() : \xtcPrice
Helper for iterating through combinations of attributes.
incrementArray( &$attribSet, $counts) : boolean
Arguments
Response
boolean
init_groups
init_groups()
|
|
|
|
|
|
| Throws |
- \Gambio\Shop\ProductModifiers\Database\Presentation\Mappers\Exceptions\PresentationMapperNotFoundException
|
init_selling_unit
init_selling_unit()
init_smarty
init_smarty()
inherited
is_admin_file
is_admin_file( $p_full_template_path)
inherited
is_cached
is_cached()
inherited
is_caching_enabled
is_caching_enabled()
inherited
is_compile_check_enabled
is_compile_check_enabled()
inherited
isAppendPropertiesModel
isAppendPropertiesModel() : boolean
isAttributeStockCheck
isAttributeStockCheck() : boolean
isStockAllowCheckout
isStockAllowCheckout() : boolean
isStockCheck
isStockCheck() : boolean
manufacturerReader
manufacturerReader() : \ManufacturerReadServiceInterface
prepare_data
prepare_data()
inherited
replace_session_id_placeholder
replace_session_id_placeholder( $p_content)
inherited
search_deprecated_keys
search_deprecated_keys( $p_key_array, &$p_array)
inherited
set_caching_enabled
set_caching_enabled( $p_status)
inherited
set_compile_check_enabled
set_compile_check_enabled( $p_status)
inherited
Inject the content data to the template file that they are accessible in template with variables.
set_content_data( $p_content_name, $p_content_item, $p_deprecation_level) : void
inherited
Sets the content template file.
set_content_template( $p_filepath) : void
inherited
Smarty can render templates from a string by using the string: or eval: resource.
set_content_template_from_string(string $p_template, boolean $storeCompiledTemplate = true)
inherited
Arguments
$storeCompiledTemplate
booleanIf 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.
set_deprecated_array
set_deprecated_array()
inherited
Set whether HTML must be escaped automatically.
set_escape_html(boolean $value)
inherited
set_flat_assigns
set_flat_assigns( $p_status)
inherited
set_selling_unit_id
set_selling_unit_id(\Gambio\Shop\SellingUnit\Unit\ValueObjects\SellingUnitId $id)
Arguments
$id
\Gambio\Shop\SellingUnit\Unit\ValueObjects\SellingUnitId
Sets the template directory path.
set_template_dir( $p_dir_path) : void
inherited
setAdditionalFields
setAdditionalFields(array $p_additionalFields)
Arguments
$p_additionalFields
array
setAppendPropertiesModel
setAppendPropertiesModel(boolean $appendPropertiesModel) : \ProductInfoThemeContentView
setAttributeStockCheck
setAttributeStockCheck(boolean $attributeStockCheck) : \ProductInfoThemeContentView
setCombiId
setCombiId(integer $p_combiId)
setCurrency
setCurrency(string $p_currency)
setCurrentCategoryId
setCurrentCategoryId(integer $p_categoryId)
setCustomerDiscount
setCustomerDiscount(double $p_customerDiscount)
Arguments
$p_customerDiscount
double
setCustomerStatusId
setCustomerStatusId(integer $p_customerStatusId)
Arguments
$p_customerStatusId
integer
setFSK18DisplayAllowed
setFSK18DisplayAllowed(boolean $p_FSK18DisplayAllowed)
Arguments
$p_FSK18DisplayAllowed
boolean
setFSK18PurchaseAllowed
setFSK18PurchaseAllowed(boolean $p_FSK18PurchaseAllowed)
Arguments
$p_FSK18PurchaseAllowed
boolean
$_GET-Data
setGetArray(array $getArray)
setLanguage
setLanguage(string $p_language)
setLanguageId
setLanguageId(integer $p_languageId)
setLastListingSql
setLastListingSql(string $p_lastListingSql)
setMain
setMain(mixed $main)
setOfferAggregationLimit
setOfferAggregationLimit(integer $offerAggregationLimit)
Arguments
$offerAggregationLimit
integer
$_POST-Data
setPostArray(array $postArray)
setProduct
setProduct(\product $product)
setSeoBoost
setSeoBoost(\GMSEOBoost_ORIGIN $seoBoost)
Arguments
$seoBoost
\GMSEOBoost_ORIGIN
setShowGraduatedPrices
setShowGraduatedPrices(boolean $p_showGraduatedPrices)
Arguments
$p_showGraduatedPrices
boolean
setShowPrice
setShowPrice(boolean $p_showPrice)
setShowPriceTax
setShowPriceTax(boolean $showPriceTax) : \ProductInfoThemeContentView
setStockAllowCheckout
setStockAllowCheckout(boolean $stockAllowCheckout) : \ProductInfoThemeContentView
setStockCheck
setStockCheck(boolean $stockCheck) : \ProductInfoThemeContentView
setXtcPrice
setXtcPrice(\xtcPrice $xtcPrice)
VPEReadService
VPEReadService() : \VPEReadServiceInterface
Properties
cheapestCombiArray
cheapestCombiArray :
currentCategoryId
currentCategoryId :
currentCombiArray
currentCombiArray :
customerDiscount
customerDiscount :
fsk18DisplayAllowed
fsk18DisplayAllowed :
fsk18PurchaseAllowed
fsk18PurchaseAllowed :
customerStatusId
customerStatusId :
hasProperties
hasProperties :
lastListingSql
lastListingSql :
product
product : \product_ORIGIN
productPriceArray
productPriceArray :
showGraduatedPrices
showGraduatedPrices :
xtcPrice
xtcPrice : \xtcPrice_ORIGIN
seoBoost
seoBoost : \GMSEOBoost_ORIGIN
Type(s)
\GMSEOBoost_ORIGIN
maxImageHeight
maxImageHeight :
additionalFields
additionalFields :
offerAggregationLimit
offerAggregationLimit :
stockAllowCheckout
stockAllowCheckout :
attributeStockCheck
attributeStockCheck :
appendPropertiesModel
appendPropertiesModel :
showPriceTax
showPriceTax :
VPEReadService
VPEReadService : \VPEReadServiceInterface
manufacturerReadService
manufacturerReadService : \ManufacturerReadServiceInterface
modifierGroups
modifierGroups : \Gambio\Shop\ProductModifiers\Modifiers\Collections\ModifiersCollectionInterface
Type(s)
\Gambio\Shop\ProductModifiers\Modifiers\Collections\ModifiersCollectionInterface
modifier_ids
modifier_ids : \Gambio\Shop\ProductModifiers\Modifiers\Collections\ModifierIdentifierCollectionInterface
Type(s)
\Gambio\Shop\ProductModifiers\Modifiers\Collections\ModifierIdentifierCollectionInterface
selling_unit
selling_unit : \Gambio\Shop\SellingUnit\Unit\SellingUnitInterface
Type(s)
\Gambio\Shop\SellingUnit\Unit\SellingUnitInterface
selling_unit_id
selling_unit_id : \Gambio\Shop\SellingUnit\Unit\ValueObjects\SellingUnitId
Type(s)
\Gambio\Shop\SellingUnit\Unit\ValueObjects\SellingUnitId
v_env_get_array
v_env_get_array :
inherited
v_env_post_array
v_env_post_array :
inherited
v_content_template
v_content_template :
inherited
content_array
content_array :
inherited
deprecated_array
deprecated_array :
inherited
v_min_deprecation_level
v_min_deprecation_level :
inherited
v_flat_assigns
v_flat_assigns :
inherited
v_coo_smarty
v_coo_smarty :
inherited
v_cache_id_elements_array
v_cache_id_elements_array :
inherited
v_template_dir
v_template_dir :
inherited
v_caching_enabled
v_caching_enabled :
inherited
v_compile_check_enabled
v_compile_check_enabled :
inherited
v_session_id_placeholder
v_session_id_placeholder :
inherited
escape_html
escape_html :
inherited
build_html
build_html :
inherited