- Class name: OrderOpcControllerCore
- Parent class: ParentOrderController
- Source: controllers/front/OrderOpcController.php line 27
- $isLogged
- $php_self
- $nbProducts
- $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
- _getCarrierList
- _getGuestInformations
- _getPaymentMethods
- _processAddressFormat
- _processCarrier
- _setDefaultCarrierSelection
- _updateMessage
- addCSS
- addJS
- addJquery
- addJqueryPlugin
- addJqueryUI
- canonicalRedirection
- checkAccess
- checkLiveEditAccess
- display
- displayContent
- displayFooter
- displayHeader
- displayMaintenancePage
- displayRestrictedCountryPage
- geolocationManagement
- getController
- getCurrentCustomerGroups
- getFormatedSummaryDetail
- getLayout
- getLiveEditFooter
- getOverrideTemplate
- init
- initContent
- initCursedPage
- initFooter
- initHeader
- initLogoAndFavicon
- isInWhitelistForGeolocation
- isTokenValid
- isXmlHttpRequest
- pagination
- postProcess
- process
- productSort
- recoverCart
- redirect
- run
- setDefaultCarrierSelection
- setMedia
- setMobileMedia
- setMobileTemplate
- setNoCarrier
- setTemplate
- smartyOutputContent
- validateDeliveryOption
- viewAccess
public mixed $isLogged
- Visibility: public
- Source: controllers/front/OrderOpcController.php line 30.
public mixed $php_self = 'order-opc'
- Visibility: public
- Source: controllers/front/OrderOpcController.php line 29.
public mixed $nbProducts
- Visibility: public
- This property is defined by ParentOrderControllerCore.
- Source: controllers/front/ParentOrderController.php line 42.
public mixed $ssl = true
- Visibility: public
- This property is defined by ParentOrderControllerCore.
- Source: controllers/front/ParentOrderController.php line 39.
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
- This method is defined by ParentOrderControllerCore.
- Source: controllers/front/ParentOrderController.php line 384
mixed OrderOpcControllerCore::_assignCarrier()
- Visibility: protected
- Source: controllers/front/OrderOpcController.php line 411
mixed OrderOpcControllerCore::_assignPayment()
- Visibility: protected
- Source: controllers/front/OrderOpcController.php line 433
mixed ParentOrderControllerCore::_assignSummaryInformations()
- Visibility: protected
- This method is defined by ParentOrderControllerCore.
- Source: controllers/front/ParentOrderController.php line 285
mixed ParentOrderControllerCore::_assignWrappingAndTOS()
- Visibility: protected
- This method is defined by ParentOrderControllerCore.
- Source: controllers/front/ParentOrderController.php line 489
boolean ParentOrderControllerCore::_checkFreeOrder()
Check if order is free
- Visibility: protected
- This method is defined by ParentOrderControllerCore.
- Source: controllers/front/ParentOrderController.php line 165
mixed OrderOpcControllerCore::_getCarrierList()
- Visibility: protected
- Source: controllers/front/OrderOpcController.php line 491
mixed OrderOpcControllerCore::_getGuestInformations()
- Visibility: protected
- Source: controllers/front/OrderOpcController.php line 374
mixed OrderOpcControllerCore::_getPaymentMethods()
- Visibility: protected
- Source: controllers/front/OrderOpcController.php line 441
mixed OrderOpcControllerCore::_processAddressFormat()
- Visibility: protected
- Source: controllers/front/OrderOpcController.php line 575
mixed ParentOrderControllerCore::_processCarrier()
- Visibility: protected
- This method is defined by ParentOrderControllerCore.
- Source: controllers/front/ParentOrderController.php line 209
\number ParentOrderControllerCore::_setDefaultCarrierSelection(array $carriers)
Decides what the default carrier is and update the cart with it
- Visibility: protected
- This method is defined by ParentOrderControllerCore.
- Source: controllers/front/ParentOrderController.php line 574
- $carriers array
mixed ParentOrderControllerCore::_updateMessage($messageContent)
- Visibility: protected
- This method is defined by ParentOrderControllerCore.
- Source: controllers/front/ParentOrderController.php line 177
- $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 937
- $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 960
- $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 776
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 881
mixed OrderOpcControllerCore::getFormatedSummaryDetail()
- Visibility: protected
- Source: controllers/front/OrderOpcController.php line 599
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 1046
mixed FrontControllerCore::getLiveEditFooter()
- Visibility: public
- This method is defined by FrontControllerCore.
- Source: classes/controller/FrontController.php line 783
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 1029
mixed OrderOpcControllerCore::init()
Initialize order opc controller
- Visibility: public
- Source: controllers/front/OrderOpcController.php line 36
mixed OrderOpcControllerCore::initContent()
Assign template vars related to page content
- Visibility: public
- Source: controllers/front/OrderOpcController.php line 296
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 764
mixed FrontControllerCore::initHeader()
- Visibility: public
- This method is defined by FrontControllerCore.
- Source: classes/controller/FrontController.php line 746
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 1124
mixed FrontControllerCore::isInWhitelistForGeolocation()
- Visibility: protected
- This method is static.
- This method is defined by FrontControllerCore.
- Source: classes/controller/FrontController.php line 900
boolean FrontControllerCore::isTokenValid()
Check if token is valid
- Visibility: public
- This method is defined by FrontControllerCore.
- Source: classes/controller/FrontController.php line 924
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 827
- $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 800
mixed FrontControllerCore::recoverCart()
- Visibility: protected
- This method is defined by FrontControllerCore.
- Source: classes/controller/FrontController.php line 979
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
\number ParentOrderControllerCore::setDefaultCarrierSelection(array $carriers)
Decides what the default carrier is and update the cart with it
- Visibility: protected
- This method is defined by ParentOrderControllerCore.
- Source: controllers/front/ParentOrderController.php line 559
- $carriers array
mixed OrderOpcControllerCore::setMedia()
- Visibility: public
- Source: controllers/front/OrderOpcController.php line 275
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 1078
- $template mixed
mixed ParentOrderControllerCore::setNoCarrier()
Set id_carrier to 0 (no shipping price)
- Visibility: protected
- This method is defined by ParentOrderControllerCore.
- Source: controllers/front/ParentOrderController.php line 542
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 1008
- $default_template mixed
mixed ControllerCore::smartyOutputContent($content)
- Visibility: protected
- This method is defined by ControllerCore.
- Source: classes/controller/Controller.php line 354
- $content mixed
mixed ParentOrderControllerCore::validateDeliveryOption(array $delivery_option)
Validate get/post param delivery option
- Visibility: protected
- This method is defined by ParentOrderControllerCore.
- Source: controllers/front/ParentOrderController.php line 273
- $delivery_option array
boolean FrontControllerCore::viewAccess()
- Visibility: public
- This method is defined by FrontControllerCore.
- Source: classes/controller/FrontController.php line 89