- Class name: ProductControllerCore
- Parent class: FrontController
- Source: controllers/front/ProductController.php line 28
- $product
- $auth
- $authRedirection
- $cart
- $cookie
- $currentCustomerGroups
- $display_column_left
- $display_column_right
- $errors
- $guestAllowed
- $initialized
- $iso
- $link
- $maintenance
- $n
- $nb_items_per_page
- $orderBy
- $orderWay
- $p
- $restrictedCountry
- $smarty
- $ssl
- $ajax
- $content_only
- $context
- $css_files
- $display_footer
- $display_header
- $js_files
- $json
- $redirect_after
- $status
- $template
- __construct
- addCSS
- addJS
- addJquery
- addJqueryPlugin
- addJqueryUI
- assignAttributesCombinations
- assignAttributesGroups
- assignCategory
- assignImages
- assignPriceAndTax
- canonicalRedirection
- checkAccess
- display
- displayFooter
- displayHeader
- displayMaintenancePage
- displayRestrictedCountryPage
- formTargetFormat
- formatQuantityDiscounts
- geolocationManagement
- getController
- getCurrentCustomerGroups
- getLiveEditFooter
- init
- initContent
- initCursedPage
- initFooter
- initHeader
- isInWhitelistForGeolocation
- isTokenValid
- pagination
- pictureUpload
- postProcess
- preProcess
- process
- productSort
- recoverCart
- redirect
- run
- setMedia
- setTemplate
- textRecord
- transformDescriptionWithImg
- viewAccess
protected mixed $product
- Visibility: protected
- Source: controllers/front/ProductController.php line 30.
public mixed $auth = false
- Visibility: public
- This property is defined by FrontControllerCore.
- Source: classes/controller/FrontController.php line 44.
public mixed $authRedirection = false
- Visibility: public
- This property is defined by FrontControllerCore.
- Source: classes/controller/FrontController.php line 46.
protected mixed $cart
- Visibility: protected
- This property is static.
- This property is defined by FrontControllerCore.
- Source: classes/controller/FrontController.php line 35.
protected mixed $cookie
- Visibility: protected
- This property is static.
- This property is defined by FrontControllerCore.
- Source: classes/controller/FrontController.php line 35.
protected mixed $currentCustomerGroups
- Visibility: protected
- This property is static.
- This property is defined by FrontControllerCore.
- Source: classes/controller/FrontController.php line 57.
public mixed $display_column_left = true
- Visibility: public
- This property is defined by FrontControllerCore.
- Source: classes/controller/FrontController.php line 52.
public mixed $display_column_right = true
- Visibility: public
- This property is defined by FrontControllerCore.
- Source: classes/controller/FrontController.php line 53.
public mixed $errors = array()
- Visibility: public
- This property is defined by FrontControllerCore.
- Source: classes/controller/FrontController.php line 30.
public mixed $guestAllowed = false
- Visibility: public
- This property is defined by FrontControllerCore.
- Source: classes/controller/FrontController.php line 45.
public mixed $initialized = false
- Visibility: public
- This property is static.
- This property is defined by FrontControllerCore.
- Source: classes/controller/FrontController.php line 55.
public mixed $iso
- Visibility: public
- This property is defined by FrontControllerCore.
- Source: classes/controller/FrontController.php line 37.
protected mixed $link
- Visibility: protected
- This property is static.
- This property is defined by FrontControllerCore.
- Source: classes/controller/FrontController.php line 35.
protected mixed $maintenance = false
- Visibility: protected
- This property is defined by FrontControllerCore.
- Source: classes/controller/FrontController.php line 50.
public mixed $n
- Visibility: public
- This property is defined by FrontControllerCore.
- Source: classes/controller/FrontController.php line 42.
public mixed $nb_items_per_page
- Visibility: public
- This property is defined by FrontControllerCore.
- Source: classes/controller/FrontController.php line 59.
public mixed $orderBy
- Visibility: public
- This property is defined by FrontControllerCore.
- Source: classes/controller/FrontController.php line 39.
public mixed $orderWay
- Visibility: public
- This property is defined by FrontControllerCore.
- Source: classes/controller/FrontController.php line 40.
public mixed $p
- Visibility: public
- This property is defined by FrontControllerCore.
- Source: classes/controller/FrontController.php line 41.
protected mixed $restrictedCountry = false
- Visibility: protected
- This property is defined by FrontControllerCore.
- Source: classes/controller/FrontController.php line 49.
protected mixed $smarty
- Visibility: protected
- This property is static.
- This property is defined by FrontControllerCore.
- Source: classes/controller/FrontController.php line 35.
public mixed $ssl = false
- Visibility: public
- This property is defined by FrontControllerCore.
- Source: classes/controller/FrontController.php line 47.
protected boolean $ajax = false
- Visibility: protected
- This property is defined by ControllerCore.
- Source: classes/controller/Controller.php line 71.
protected string $content_only = false
- Visibility: protected
- This property is defined by ControllerCore.
- Source: classes/controller/Controller.php line 66.
protected \Context $context
- Visibility: protected
- This property is defined by ControllerCore.
- Source: classes/controller/Controller.php line 36.
public array $css_files = array()
- Visibility: public
- This property is defined by ControllerCore.
- Source: classes/controller/Controller.php line 41.
protected string $display_footer
- Visibility: protected
- This property is defined by ControllerCore.
- Source: classes/controller/Controller.php line 61.
protected boolean $display_header
- Visibility: protected
- This property is defined by ControllerCore.
- Source: classes/controller/Controller.php line 51.
public array $js_files = array()
- Visibility: public
- This property is defined by ControllerCore.
- Source: classes/controller/Controller.php line 46.
protected mixed $json = false
- Visibility: protected
- This property is defined by ControllerCore.
- Source: classes/controller/Controller.php line 72.
protected mixed $redirect_after = null
- Visibility: protected
- This property is defined by ControllerCore.
- Source: classes/controller/Controller.php line 75.
protected mixed $status = ''
- Visibility: protected
- This property is defined by ControllerCore.
- Source: classes/controller/Controller.php line 73.
protected string $template
- Visibility: protected
- This property is defined by ControllerCore.
- Source: classes/controller/Controller.php line 56.
mixed FrontControllerCore::__construct()
- Visibility: public
- This method is defined by FrontControllerCore.
- Source: classes/controller/FrontController.php line 61
mixed FrontControllerCore::addCSS($css_uri, $css_media_type)
Add one or several CSS for front, checking if css files are overriden in theme/css/modules/ directory
- Visibility: public
- This method is defined by FrontControllerCore.
- Source: classes/controller/FrontController.php line 820
- $css_uri mixed
- $css_media_type mixed
mixed FrontControllerCore::addJS($js_uri)
Add one or several JS files for front, checking if js files are overriden in theme/js/modules/ directory
- Visibility: public
- This method is defined by FrontControllerCore.
- Source: classes/controller/FrontController.php line 843
- $js_uri mixed
void ControllerCore::addJquery($version, $folder, $minifier)
Add a new javascript file in page header.
- Visibility: public
- This method is defined by ControllerCore.
- Source: classes/controller/Controller.php line 288
- $version mixed
- $folder mixed
- $minifier mixed
void ControllerCore::addJqueryPlugin($name, $folder)
Add a new javascript file in page header.
- Visibility: public
- This method is defined by ControllerCore.
- Source: classes/controller/Controller.php line 318
- $name mixed
- $folder mixed
void ControllerCore::addJqueryUI($component, $theme, $check_dependencies)
Add a new javascript file in page header.
- Visibility: public
- This method is defined by ControllerCore.
- Source: classes/controller/Controller.php line 299
- $component mixed
- $theme mixed
- $check_dependencies mixed
mixed ProductControllerCore::assignAttributesCombinations()
Get and assign attributes combinations informations
- Visibility: protected
- Source: controllers/front/ProductController.php line 389
mixed ProductControllerCore::assignAttributesGroups()
Assign template vars related to attribute groups and colors
- Visibility: protected
- Source: controllers/front/ProductController.php line 298
mixed ProductControllerCore::assignCategory()
Assign template vars related to category
- Visibility: protected
- Source: controllers/front/ProductController.php line 401
mixed ProductControllerCore::assignImages()
Assign template vars related to images
- Visibility: protected
- Source: controllers/front/ProductController.php line 265
mixed ProductControllerCore::assignPriceAndTax()
Assign price and tax to the template
- Visibility: protected
- Source: controllers/front/ProductController.php line 208
mixed ProductControllerCore::canonicalRedirection($canonical_url)
- Visibility: public
- Source: controllers/front/ProductController.php line 48
- $canonical_url mixed
boolean FrontControllerCore::checkAccess()
- Visibility: public
- This method is defined by FrontControllerCore.
- Source: classes/controller/FrontController.php line 74
mixed FrontControllerCore::display()
- Visibility: public
- This method is defined by FrontControllerCore.
- Source: classes/controller/FrontController.php line 467
mixed FrontControllerCore::displayFooter($display)
- Visibility: public
- This method is defined by FrontControllerCore.
- Source: classes/controller/FrontController.php line 442
- $display mixed
mixed FrontControllerCore::displayHeader($display)
- Visibility: public
- This method is defined by FrontControllerCore.
- Source: classes/controller/FrontController.php line 410
- $display mixed
mixed FrontControllerCore::displayMaintenancePage()
- Visibility: protected
- This method is defined by FrontControllerCore.
- Source: classes/controller/FrontController.php line 526
mixed FrontControllerCore::displayRestrictedCountryPage()
- Visibility: protected
- This method is defined by FrontControllerCore.
- Source: classes/controller/FrontController.php line 538
mixed ProductControllerCore::formTargetFormat()
- Visibility: public
- Source: controllers/front/ProductController.php line 515
mixed ProductControllerCore::formatQuantityDiscounts($specific_prices, $price, $tax_rate)
- Visibility: public
- Source: controllers/front/ProductController.php line 526
- $specific_prices mixed
- $price mixed
- $tax_rate mixed
mixed FrontControllerCore::geolocationManagement($defaultCountry)
- Visibility: protected
- This method is defined by FrontControllerCore.
- Source: classes/controller/FrontController.php line 572
- $defaultCountry mixed
mixed ControllerCore::getController(string $class_name, boolean $auth, boolean $ssl)
Get an instance of a controller
- Visibility: public
- This method is static.
- This method is defined by ControllerCore.
- Source: classes/controller/Controller.php line 125
- $class_name string
- $auth boolean
- $ssl boolean
mixed FrontControllerCore::getCurrentCustomerGroups()
- Visibility: public
- This method is static.
- This method is defined by FrontControllerCore.
- Source: classes/controller/FrontController.php line 774
mixed FrontControllerCore::getLiveEditFooter()
- Visibility: public
- This method is defined by FrontControllerCore.
- Source: classes/controller/FrontController.php line 677
mixed ProductControllerCore::init()
Initialize product controller
- Visibility: public
- Source: controllers/front/ProductController.php line 58
mixed ProductControllerCore::initContent()
Assign template vars related to page content
- Visibility: public
- Source: controllers/front/ProductController.php line 104
mixed FrontControllerCore::initCursedPage()
- Visibility: public
- This method is defined by FrontControllerCore.
- Source: classes/controller/FrontController.php line 453
mixed FrontControllerCore::initFooter()
- Visibility: public
- This method is defined by FrontControllerCore.
- Source: classes/controller/FrontController.php line 669
mixed FrontControllerCore::initHeader()
- Visibility: public
- This method is defined by FrontControllerCore.
- Source: classes/controller/FrontController.php line 649
mixed FrontControllerCore::isInWhitelistForGeolocation()
- Visibility: protected
- This method is static.
- This method is defined by FrontControllerCore.
- Source: classes/controller/FrontController.php line 792
boolean FrontControllerCore::isTokenValid()
Check if token is valid
- Visibility: public
- This method is defined by FrontControllerCore.
- Source: classes/controller/FrontController.php line 810
mixed FrontControllerCore::pagination($nbProducts)
- Visibility: public
- This method is defined by FrontControllerCore.
- Source: classes/controller/FrontController.php line 723
- $nbProducts mixed
mixed ProductControllerCore::pictureUpload(\Product $product, \Cart $cart)
- Visibility: public
- Source: controllers/front/ProductController.php line 456
mixed FrontControllerCore::postProcess()
- Visibility: public
- This method is defined by FrontControllerCore.
- Source: classes/controller/FrontController.php line 375
mixed FrontControllerCore::preProcess()
- Visibility: public
- This method is defined by FrontControllerCore.
- Source: classes/controller/FrontController.php line 391
mixed FrontControllerCore::process()
- Visibility: public
- This method is defined by FrontControllerCore.
- Source: classes/controller/FrontController.php line 458
mixed FrontControllerCore::productSort()
- Visibility: public
- This method is defined by FrontControllerCore.
- Source: classes/controller/FrontController.php line 696
mixed FrontControllerCore::recoverCart()
- Visibility: protected
- This method is defined by FrontControllerCore.
- Source: classes/controller/FrontController.php line 862
mixed FrontControllerCore::redirect()
- Visibility: public
- This method is defined by FrontControllerCore.
- Source: classes/controller/FrontController.php line 462
mixed ControllerCore::run()
Start controller process (this method shouldn't be overriden !)
- Visibility: public
- This method is defined by ControllerCore.
- Source: classes/controller/Controller.php line 146
mixed ProductControllerCore::setMedia()
- Visibility: public
- Source: controllers/front/ProductController.php line 32
mixed ControllerCore::setTemplate($template)
- Visibility: public
- This method is defined by ControllerCore.
- Source: classes/controller/Controller.php line 201
- $template mixed
mixed ProductControllerCore::textRecord(\Product $product, \Cart $cart)
- Visibility: public
- Source: controllers/front/ProductController.php line 494
mixed ProductControllerCore::transformDescriptionWithImg($desc)
- Visibility: public
- Source: controllers/front/ProductController.php line 443
- $desc mixed
boolean FrontControllerCore::viewAccess()
- Visibility: public
- This method is defined by FrontControllerCore.
- Source: classes/controller/FrontController.php line 84