- Class name: ParentOrderControllerCore
- Parent class: FrontController
- Source: controllers/front/ParentOrderController.php line 35
- $nbProducts
- $php_self
- $ssl
- $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
- $ajax
- $content_only
- $context
- $controller_type
- $css_files
- $display_footer
- $display_header
- $js_files
- $json
- $redirect_after
- $status
- $template
- __construct
- _assignAddress
- _assignCarrier
- _assignPayment
- _assignSummaryInformations
- _assignWrappingAndTOS
- _checkFreeOrder
- _processCarrier
- _setDefaultCarrierSelection
- _updateMessage
- addCSS
- addJS
- addJquery
- addJqueryPlugin
- addJqueryUI
- canonicalRedirection
- checkAccess
- checkLiveEditAccess
- display
- displayContent
- displayFooter
- displayHeader
- displayMaintenancePage
- displayRestrictedCountryPage
- geolocationManagement
- getController
- getCurrentCustomerGroups
- getLayout
- getLiveEditFooter
- getOverrideTemplate
- init
- initContent
- initCursedPage
- initFooter
- initHeader
- initLogoAndFavicon
- isInWhitelistForGeolocation
- isTokenValid
- isXmlHttpRequest
- pagination
- postProcess
- preProcess
- process
- productSort
- recoverCart
- redirect
- run
- setDefaultCarrierSelection
- setMedia
- setMobileMedia
- setMobileTemplate
- setNoCarrier
- setTemplate
- smartyOutputContent
- validateDeliveryOption
- viewAccess
public mixed $nbProducts
- Visibility: public
- Source: controllers/front/ParentOrderController.php line 40.
public mixed $php_self = 'order'
- Visibility: public
- Source: controllers/front/ParentOrderController.php line 38.
public mixed $ssl = true
- Visibility: public
- Source: controllers/front/ParentOrderController.php line 37.
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 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 ParentOrderControllerCore::_assignAddress()
- Visibility: protected
- Source: controllers/front/ParentOrderController.php line 375
mixed ParentOrderControllerCore::_assignCarrier()
- Visibility: protected
- Source: controllers/front/ParentOrderController.php line 449
mixed ParentOrderControllerCore::_assignPayment()
- Visibility: protected
- Source: controllers/front/ParentOrderController.php line 512
mixed ParentOrderControllerCore::_assignSummaryInformations()
- Visibility: protected
- Source: controllers/front/ParentOrderController.php line 276
mixed ParentOrderControllerCore::_assignWrappingAndTOS()
- Visibility: protected
- Source: controllers/front/ParentOrderController.php line 480
boolean ParentOrderControllerCore::_checkFreeOrder()
Check if order is free
- Visibility: protected
- Source: controllers/front/ParentOrderController.php line 164
mixed ParentOrderControllerCore::_processCarrier()
- Visibility: protected
- Source: controllers/front/ParentOrderController.php line 208
\number ParentOrderControllerCore::_setDefaultCarrierSelection(array $carriers)
Decides what the default carrier is and update the cart with it
- Visibility: protected
- Source: controllers/front/ParentOrderController.php line 555
- $carriers array
mixed ParentOrderControllerCore::_updateMessage($messageContent)
- Visibility: protected
- Source: controllers/front/ParentOrderController.php line 176
- $messageContent mixed
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 950
- $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 973
- $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 613
- $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 789
mixed FrontControllerCore::display()
- Visibility: public
- This method is defined by FrontControllerCore.
- Source: classes/controller/FrontController.php line 522
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 518
mixed FrontControllerCore::displayFooter($display)
- Visibility: public
- This method is defined by FrontControllerCore.
- Source: classes/controller/FrontController.php line 494
- $display mixed
mixed FrontControllerCore::displayHeader($display)
- Visibility: public
- This method is defined by FrontControllerCore.
- Source: classes/controller/FrontController.php line 458
- $display mixed
mixed FrontControllerCore::displayMaintenancePage()
- Visibility: protected
- This method is defined by FrontControllerCore.
- Source: classes/controller/FrontController.php line 586
mixed FrontControllerCore::displayRestrictedCountryPage()
- Visibility: protected
- This method is defined by FrontControllerCore.
- Source: classes/controller/FrontController.php line 605
mixed FrontControllerCore::geolocationManagement($default_country)
- Visibility: protected
- This method is defined by FrontControllerCore.
- Source: classes/controller/FrontController.php line 655
- $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 894
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 1059
mixed FrontControllerCore::getLiveEditFooter()
- Visibility: public
- This method is defined by FrontControllerCore.
- Source: classes/controller/FrontController.php line 796
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 1042
mixed ParentOrderControllerCore::init()
Initialize parent order controller
- Visibility: public
- Source: controllers/front/ParentOrderController.php line 46
mixed FrontControllerCore::initContent()
- Visibility: public
- This method is defined by FrontControllerCore.
- Source: classes/controller/FrontController.php line 429
mixed FrontControllerCore::initCursedPage()
- Visibility: public
- This method is defined by FrontControllerCore.
- Source: classes/controller/FrontController.php line 501
mixed FrontControllerCore::initFooter()
- Visibility: public
- This method is defined by FrontControllerCore.
- Source: classes/controller/FrontController.php line 777
mixed FrontControllerCore::initHeader()
- Visibility: public
- This method is defined by FrontControllerCore.
- Source: classes/controller/FrontController.php line 759
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 1137
mixed FrontControllerCore::isInWhitelistForGeolocation()
- Visibility: protected
- This method is static.
- This method is defined by FrontControllerCore.
- Source: classes/controller/FrontController.php line 913
boolean FrontControllerCore::isTokenValid()
Check if token is valid
- Visibility: public
- This method is defined by FrontControllerCore.
- Source: classes/controller/FrontController.php line 937
boolean ControllerCore::isXmlHttpRequest()
- Visibility: public
- This method is defined by ControllerCore.
- Source: classes/controller/Controller.php line 345
mixed FrontControllerCore::pagination($nbProducts)
- Visibility: public
- This method is defined by FrontControllerCore.
- Source: classes/controller/FrontController.php line 840
- $nbProducts mixed
mixed FrontControllerCore::postProcess()
- Visibility: public
- This method is defined by FrontControllerCore.
- Source: classes/controller/FrontController.php line 409
mixed FrontControllerCore::preProcess()
- Visibility: public
- This method is defined by FrontControllerCore.
- Source: classes/controller/FrontController.php line 425
mixed FrontControllerCore::process()
- Visibility: public
- This method is defined by FrontControllerCore.
- Source: classes/controller/FrontController.php line 506
mixed FrontControllerCore::productSort()
- Visibility: public
- This method is defined by FrontControllerCore.
- Source: classes/controller/FrontController.php line 813
mixed FrontControllerCore::recoverCart()
- Visibility: protected
- This method is defined by FrontControllerCore.
- Source: classes/controller/FrontController.php line 992
mixed FrontControllerCore::redirect()
- Visibility: public
- This method is defined by FrontControllerCore.
- Source: classes/controller/FrontController.php line 510
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
\number ParentOrderControllerCore::setDefaultCarrierSelection(array $carriers)
Decides what the default carrier is and update the cart with it
- Visibility: protected
- Source: controllers/front/ParentOrderController.php line 540
- $carriers array
mixed ParentOrderControllerCore::setMedia()
- Visibility: public
- Source: controllers/front/ParentOrderController.php line 139
mixed FrontControllerCore::setMobileMedia()
Specific medias for mobile device.
- Visibility: public
- This method is defined by FrontControllerCore.
- Source: classes/controller/FrontController.php line 717
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 1091
- $template mixed
mixed ParentOrderControllerCore::setNoCarrier()
Set id_carrier to 0 (no shipping price)
- Visibility: protected
- Source: controllers/front/ParentOrderController.php line 523
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 1021
- $default_template mixed
mixed ControllerCore::smartyOutputContent($content)
- Visibility: protected
- This method is defined by ControllerCore.
- Source: classes/controller/Controller.php line 350
- $content mixed
mixed ParentOrderControllerCore::validateDeliveryOption(array $delivery_option)
Validate get/post param delivery option
- Visibility: protected
- Source: controllers/front/ParentOrderController.php line 264
- $delivery_option array
boolean FrontControllerCore::viewAccess()
- Visibility: public
- This method is defined by FrontControllerCore.
- Source: classes/controller/FrontController.php line 89