- Class name: CategoryControllerCore
- Parent class: FrontController
- Source: controllers/front/CategoryController.php line 27
- $category
- $customer_access
- $php_self
- $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
- $controller_type
- $css_files
- $display_footer
- $display_header
- $js_files
- $json
- $redirect_after
- $status
- $template
- __construct
- addCSS
- addJS
- addJquery
- addJqueryPlugin
- addJqueryUI
- assignProductList
- assignScenes
- assignSubcategories
- canonicalRedirection
- checkAccess
- checkLiveEditAccess
- display
- displayContent
- displayFooter
- displayHeader
- displayMaintenancePage
- displayRestrictedCountryPage
- geolocationManagement
- getCategory
- getController
- getCurrentCustomerGroups
- getLayout
- getLiveEditFooter
- getOverrideTemplate
- init
- initContent
- initCursedPage
- initFooter
- initHeader
- initLogoAndFavicon
- isInWhitelistForGeolocation
- isTokenValid
- isXmlHttpRequest
- pagination
- postProcess
- process
- productSort
- recoverCart
- redirect
- run
- setMedia
- setMobileMedia
- setMobileTemplate
- setTemplate
- smartyOutputContent
- viewAccess
protected mixed $category
- Visibility: protected
- Source: controllers/front/CategoryController.php line 30.
public mixed $customer_access = true
- Visibility: public
- Source: controllers/front/CategoryController.php line 31.
public mixed $php_self = 'category'
- Visibility: public
- Source: controllers/front/CategoryController.php line 29.
public mixed $auth = false
- Visibility: public
- This property is defined by FrontControllerCore.
- Source: classes/controller/FrontController.php line 43.
public mixed $authRedirection = false
- Visibility: public
- This property is defined by FrontControllerCore.
- Source: classes/controller/FrontController.php line 45.
protected mixed $cart
- Visibility: protected
- This property is static.
- This property is defined by FrontControllerCore.
- Source: classes/controller/FrontController.php line 34.
protected mixed $cookie
- Visibility: protected
- This property is static.
- This property is defined by FrontControllerCore.
- Source: classes/controller/FrontController.php line 34.
protected mixed $currentCustomerGroups
- Visibility: protected
- This property is static.
- This property is defined by FrontControllerCore.
- Source: classes/controller/FrontController.php line 56.
public mixed $display_column_left = true
- Visibility: public
- This property is defined by FrontControllerCore.
- Source: classes/controller/FrontController.php line 51.
public mixed $display_column_right = true
- Visibility: public
- This property is defined by FrontControllerCore.
- Source: classes/controller/FrontController.php line 52.
public mixed $errors = array()
- Visibility: public
- This property is defined by FrontControllerCore.
- Source: classes/controller/FrontController.php line 29.
public mixed $guestAllowed = false
- Visibility: public
- This property is defined by FrontControllerCore.
- Source: classes/controller/FrontController.php line 44.
public mixed $initialized = false
- Visibility: public
- This property is static.
- This property is defined by FrontControllerCore.
- Source: classes/controller/FrontController.php line 54.
public mixed $iso
- Visibility: public
- This property is defined by FrontControllerCore.
- Source: classes/controller/FrontController.php line 36.
protected mixed $link
- Visibility: protected
- This property is static.
- This property is defined by FrontControllerCore.
- Source: classes/controller/FrontController.php line 34.
protected mixed $maintenance = false
- Visibility: protected
- This property is defined by FrontControllerCore.
- Source: classes/controller/FrontController.php line 49.
public mixed $n
- Visibility: public
- This property is defined by FrontControllerCore.
- Source: classes/controller/FrontController.php line 41.
public mixed $nb_items_per_page
- Visibility: public
- This property is defined by FrontControllerCore.
- Source: classes/controller/FrontController.php line 58.
public mixed $orderBy
- Visibility: public
- This property is defined by FrontControllerCore.
- Source: classes/controller/FrontController.php line 38.
public mixed $orderWay
- Visibility: public
- This property is defined by FrontControllerCore.
- Source: classes/controller/FrontController.php line 39.
public mixed $p
- Visibility: public
- This property is defined by FrontControllerCore.
- Source: classes/controller/FrontController.php line 40.
protected mixed $restrictedCountry = false
- Visibility: protected
- This property is defined by FrontControllerCore.
- Source: classes/controller/FrontController.php line 48.
protected mixed $smarty
- Visibility: protected
- This property is static.
- This property is defined by FrontControllerCore.
- Source: classes/controller/FrontController.php line 34.
public mixed $ssl = false
- Visibility: public
- This property is defined by FrontControllerCore.
- Source: classes/controller/FrontController.php line 46.
public boolean $ajax = false
- Visibility: public
- This property is defined by ControllerCore.
- Source: classes/controller/Controller.php line 70.
protected string $content_only = false
- Visibility: protected
- This property is defined by ControllerCore.
- Source: classes/controller/Controller.php line 65.
protected \Context $context
- Visibility: protected
- This property is defined by ControllerCore.
- Source: classes/controller/Controller.php line 35.
public mixed $controller_type
- Visibility: public
- This property is defined by ControllerCore.
- Source: classes/controller/Controller.php line 76.
public array $css_files = array()
- Visibility: public
- This property is defined by ControllerCore.
- Source: classes/controller/Controller.php line 40.
protected string $display_footer
- Visibility: protected
- This property is defined by ControllerCore.
- Source: classes/controller/Controller.php line 60.
protected boolean $display_header
- Visibility: protected
- This property is defined by ControllerCore.
- Source: classes/controller/Controller.php line 50.
public array $js_files = array()
- Visibility: public
- This property is defined by ControllerCore.
- Source: classes/controller/Controller.php line 45.
protected mixed $json = false
- Visibility: protected
- This property is defined by ControllerCore.
- Source: classes/controller/Controller.php line 71.
protected mixed $redirect_after = null
- Visibility: protected
- This property is defined by ControllerCore.
- Source: classes/controller/Controller.php line 74.
protected mixed $status = ''
- Visibility: protected
- This property is defined by ControllerCore.
- Source: classes/controller/Controller.php line 72.
protected string $template
- Visibility: protected
- This property is defined by ControllerCore.
- Source: classes/controller/Controller.php line 55.
mixed FrontControllerCore::__construct()
- Visibility: public
- This method is defined by FrontControllerCore.
- Source: classes/controller/FrontController.php line 60
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 941
- $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 964
- $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 291
- $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 322
- $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 302
- $component mixed
- $theme mixed
- $check_dependencies mixed
mixed CategoryControllerCore::assignProductList()
Assign list of products template vars
- Visibility: public
- Source: controllers/front/CategoryController.php line 180
mixed CategoryControllerCore::assignScenes()
Assign scenes template vars
- Visibility: protected
- Source: controllers/front/CategoryController.php line 138
mixed CategoryControllerCore::assignSubcategories()
Assign sub categories templates vars
- Visibility: protected
- Source: controllers/front/CategoryController.php line 165
mixed CategoryControllerCore::canonicalRedirection($canonicalURL)
- Visibility: public
- Source: controllers/front/CategoryController.php line 54
- $canonicalURL mixed
boolean FrontControllerCore::checkAccess()
- Visibility: public
- This method is defined by FrontControllerCore.
- Source: classes/controller/FrontController.php line 82
mixed FrontControllerCore::checkLiveEditAccess()
- Visibility: public
- This method is defined by FrontControllerCore.
- Source: classes/controller/FrontController.php line 778
mixed FrontControllerCore::display()
- Visibility: public
- This method is defined by FrontControllerCore.
- Source: classes/controller/FrontController.php line 507
mixed FrontControllerCore::displayContent()
1.4 retrocompatibility - will be removed in 1.6
- Visibility: public
- This method is defined by FrontControllerCore.
- Source: classes/controller/FrontController.php line 503
mixed FrontControllerCore::displayFooter($display)
- Visibility: public
- This method is defined by FrontControllerCore.
- Source: classes/controller/FrontController.php line 479
- $display mixed
mixed FrontControllerCore::displayHeader($display)
- Visibility: public
- This method is defined by FrontControllerCore.
- Source: classes/controller/FrontController.php line 443
- $display mixed
mixed FrontControllerCore::displayMaintenancePage()
- Visibility: protected
- This method is defined by FrontControllerCore.
- Source: classes/controller/FrontController.php line 571
mixed FrontControllerCore::displayRestrictedCountryPage()
- Visibility: protected
- This method is defined by FrontControllerCore.
- Source: classes/controller/FrontController.php line 590
mixed FrontControllerCore::geolocationManagement($default_country)
- Visibility: protected
- This method is defined by FrontControllerCore.
- Source: classes/controller/FrontController.php line 640
- $default_country mixed
mixed CategoryControllerCore::getCategory()
Get instance of current category
- Visibility: public
- Source: controllers/front/CategoryController.php line 214
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 126
- $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 885
boolean|string FrontControllerCore::getLayout()
Returns the layout corresponding to the current page by using the override system Ex: On the url: http://localhost/index.php?id_product=1&controller=product, this method will check if the layout exists in the following files (in that order), and return the first found:
- /themes/default/override/layout-product-1.tpl
- /themes/default/override/layout-product.tpl
- /themes/default/layout.tpl
- Visibility: public
- This method is defined by FrontControllerCore.
- Source: classes/controller/FrontController.php line 1050
mixed FrontControllerCore::getLiveEditFooter()
- Visibility: public
- This method is defined by FrontControllerCore.
- Source: classes/controller/FrontController.php line 787
boolean FrontControllerCore::getOverrideTemplate()
Returns the template corresponding to the current page.
By default this method return false but could easily be overridden in a specific controller
- Visibility: public
- This method is defined by FrontControllerCore.
- Source: classes/controller/FrontController.php line 1033
mixed CategoryControllerCore::init()
Initialize category controller
- Visibility: public
- Source: controllers/front/CategoryController.php line 71
mixed CategoryControllerCore::initContent()
- Visibility: public
- Source: controllers/front/CategoryController.php line 98
mixed FrontControllerCore::initCursedPage()
- Visibility: public
- This method is defined by FrontControllerCore.
- Source: classes/controller/FrontController.php line 486
mixed FrontControllerCore::initFooter()
- Visibility: public
- This method is defined by FrontControllerCore.
- Source: classes/controller/FrontController.php line 766
mixed FrontControllerCore::initHeader()
- Visibility: public
- This method is defined by FrontControllerCore.
- Source: classes/controller/FrontController.php line 748
array FrontControllerCore::initLogoAndFavicon()
Return an array with specific logo and favicon, if mobile device
- Visibility: public
- This method is defined by FrontControllerCore.
- Source: classes/controller/FrontController.php line 1128
mixed FrontControllerCore::isInWhitelistForGeolocation()
- Visibility: protected
- This method is static.
- This method is defined by FrontControllerCore.
- Source: classes/controller/FrontController.php line 904
boolean FrontControllerCore::isTokenValid()
Check if token is valid
- Visibility: public
- This method is defined by FrontControllerCore.
- Source: classes/controller/FrontController.php line 928
boolean ControllerCore::isXmlHttpRequest()
- Visibility: public
- This method is defined by ControllerCore.
- Source: classes/controller/Controller.php line 349
mixed FrontControllerCore::pagination($nbProducts)
- Visibility: public
- This method is defined by FrontControllerCore.
- Source: classes/controller/FrontController.php line 831
- $nbProducts mixed
mixed FrontControllerCore::postProcess()
- Visibility: public
- This method is defined by FrontControllerCore.
- Source: classes/controller/FrontController.php line 410
mixed FrontControllerCore::process()
- Visibility: public
- This method is defined by FrontControllerCore.
- Source: classes/controller/FrontController.php line 491
mixed FrontControllerCore::productSort()
- Visibility: public
- This method is defined by FrontControllerCore.
- Source: classes/controller/FrontController.php line 804
mixed FrontControllerCore::recoverCart()
- Visibility: protected
- This method is defined by FrontControllerCore.
- Source: classes/controller/FrontController.php line 983
mixed FrontControllerCore::redirect()
- Visibility: public
- This method is defined by FrontControllerCore.
- Source: classes/controller/FrontController.php line 495
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 148
mixed CategoryControllerCore::setMedia()
Set default medias for this controller
- Visibility: public
- Source: controllers/front/CategoryController.php line 36
mixed FrontControllerCore::setMobileMedia()
Specific medias for mobile device.
- Visibility: public
- This method is defined by FrontControllerCore.
- Source: classes/controller/FrontController.php line 703
mixed FrontControllerCore::setMobileTemplate($template)
This checks if the template set is available for mobile themes, otherwise the front template is choosen.
- Visibility: public
- This method is defined by FrontControllerCore.
- Source: classes/controller/FrontController.php line 1082
- $template mixed
mixed FrontControllerCore::setTemplate($default_template)
This is overrided to manage is behaviour if a customer access to the site with mobile device.
- Visibility: public
- This method is defined by FrontControllerCore.
- Source: classes/controller/FrontController.php line 1012
- $default_template mixed
mixed ControllerCore::smartyOutputContent($content)
- Visibility: protected
- This method is defined by ControllerCore.
- Source: classes/controller/Controller.php line 354
- $content mixed
boolean FrontControllerCore::viewAccess()
- Visibility: public
- This method is defined by FrontControllerCore.
- Source: classes/controller/FrontController.php line 92