- Class name: ModuleFrontControllerCore
- Parent class: FrontController
- Source: classes/controller/ModuleFrontController.php line 30
- $module
- $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
- canonicalRedirection
- checkAccess
- checkLiveEditAccess
- display
- displayContent
- displayFooter
- displayHeader
- displayMaintenancePage
- displayRestrictedCountryPage
- geolocationManagement
- getController
- getCurrentCustomerGroups
- getLayout
- getLiveEditFooter
- getOverrideTemplate
- getTemplatePath
- init
- initContent
- initCursedPage
- initFooter
- initHeader
- initLogoAndFavicon
- isInWhitelistForGeolocation
- isTokenValid
- isXmlHttpRequest
- pagination
- postProcess
- process
- productSort
- recoverCart
- redirect
- run
- setMedia
- setMobileMedia
- setMobileTemplate
- setTemplate
- smartyOutputContent
- viewAccess
public \Module $module
- Visibility: public
- Source: classes/controller/ModuleFrontController.php line 35.
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 ModuleFrontControllerCore::__construct()
- Visibility: public
- Source: classes/controller/ModuleFrontController.php line 37
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 934
- $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 957
- $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 FrontControllerCore::canonicalRedirection($canonical_url)
- Visibility: protected
- This method is defined by FrontControllerCore.
- Source: classes/controller/FrontController.php line 597
- $canonical_url mixed
boolean FrontControllerCore::checkAccess()
- Visibility: public
- This method is defined by FrontControllerCore.
- Source: classes/controller/FrontController.php line 79
mixed FrontControllerCore::checkLiveEditAccess()
- Visibility: public
- This method is defined by FrontControllerCore.
- Source: classes/controller/FrontController.php line 773
mixed FrontControllerCore::display()
- Visibility: public
- This method is defined by FrontControllerCore.
- Source: classes/controller/FrontController.php line 506
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 502
mixed FrontControllerCore::displayFooter($display)
- Visibility: public
- This method is defined by FrontControllerCore.
- Source: classes/controller/FrontController.php line 478
- $display mixed
mixed FrontControllerCore::displayHeader($display)
- Visibility: public
- This method is defined by FrontControllerCore.
- Source: classes/controller/FrontController.php line 442
- $display mixed
mixed FrontControllerCore::displayMaintenancePage()
- Visibility: protected
- This method is defined by FrontControllerCore.
- Source: classes/controller/FrontController.php line 570
mixed FrontControllerCore::displayRestrictedCountryPage()
- Visibility: protected
- This method is defined by FrontControllerCore.
- Source: classes/controller/FrontController.php line 589
mixed FrontControllerCore::geolocationManagement($default_country)
- Visibility: protected
- This method is defined by FrontControllerCore.
- Source: classes/controller/FrontController.php line 639
- $default_country 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 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 878
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 1043
mixed FrontControllerCore::getLiveEditFooter()
- Visibility: public
- This method is defined by FrontControllerCore.
- Source: classes/controller/FrontController.php line 780
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 1026
string ModuleFrontControllerCore::getTemplatePath()
Get path to front office templates for the module
- Visibility: public
- Source: classes/controller/ModuleFrontController.php line 69
mixed FrontControllerCore::init()
- Visibility: public
- This method is defined by FrontControllerCore.
- Source: classes/controller/FrontController.php line 94
mixed FrontControllerCore::initContent()
- Visibility: public
- This method is defined by FrontControllerCore.
- Source: classes/controller/FrontController.php line 413
mixed FrontControllerCore::initCursedPage()
- Visibility: public
- This method is defined by FrontControllerCore.
- Source: classes/controller/FrontController.php line 485
mixed FrontControllerCore::initFooter()
- Visibility: public
- This method is defined by FrontControllerCore.
- Source: classes/controller/FrontController.php line 761
mixed FrontControllerCore::initHeader()
- Visibility: public
- This method is defined by FrontControllerCore.
- Source: classes/controller/FrontController.php line 743
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 1121
mixed FrontControllerCore::isInWhitelistForGeolocation()
- Visibility: protected
- This method is static.
- This method is defined by FrontControllerCore.
- Source: classes/controller/FrontController.php line 897
boolean FrontControllerCore::isTokenValid()
Check if token is valid
- Visibility: public
- This method is defined by FrontControllerCore.
- Source: classes/controller/FrontController.php line 921
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 824
- $nbProducts mixed
mixed FrontControllerCore::postProcess()
- Visibility: public
- This method is defined by FrontControllerCore.
- Source: classes/controller/FrontController.php line 409
mixed FrontControllerCore::process()
- Visibility: public
- This method is defined by FrontControllerCore.
- Source: classes/controller/FrontController.php line 490
mixed FrontControllerCore::productSort()
- Visibility: public
- This method is defined by FrontControllerCore.
- Source: classes/controller/FrontController.php line 797
mixed FrontControllerCore::recoverCart()
- Visibility: protected
- This method is defined by FrontControllerCore.
- Source: classes/controller/FrontController.php line 976
mixed FrontControllerCore::redirect()
- Visibility: public
- This method is defined by FrontControllerCore.
- Source: classes/controller/FrontController.php line 494
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 FrontControllerCore::setMedia()
- Visibility: public
- This method is defined by FrontControllerCore.
- Source: classes/controller/FrontController.php line 715
mixed FrontControllerCore::setMobileMedia()
Specific medias for mobile device.
- Visibility: public
- This method is defined by FrontControllerCore.
- Source: classes/controller/FrontController.php line 701
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 1075
- $template mixed
mixed ModuleFrontControllerCore::setTemplate(string $template)
Assign module template
- Visibility: public
- Source: classes/controller/ModuleFrontController.php line 54
- $template string
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 89