Edit me

Table of contents


Class: AdminCartsControllerCore

Class AdminCartsControllerCore

Visibility Function
public __construct() : void
AdminCartsControllerCore constructor.
public ajaxPreProcess() : void
public ajaxProcessAddVoucher() : void
public ajaxProcessDeleteProduct() : void
public ajaxProcessDeleteVoucher() : void
public ajaxProcessDuplicateOrder() : void
public ajaxProcessUpdateAddress() : void
public ajaxProcessUpdateAddresses() : void
public ajaxProcessUpdateCurrency() : void
public ajaxProcessUpdateCustomizationFields() : void
public ajaxProcessUpdateDeliveryOption() : void
public ajaxProcessUpdateLang() : void
public ajaxProcessUpdateOrderMessage() : void
public ajaxProcessUpdateProductPrice() : void
public ajaxProcessUpdateQty() : void
public ajaxProcessupdateFreeShipping() : void
public ajaxReturnVars() : array
public displayAjaxGetSummary() : void
public displayAjaxSearchCarts() : void
public displayDeleteLink(null $token=null, mixed $id, null $name=null) : string/void
public static getOrderTotalUsingTaxCalculationMethod(int $idCart) : string
public initPageHeaderToolbar() : void
public initToolbar() : void
public renderKpis() : mixed
public renderList() : bool/string
public renderView() : string
public static replaceZeroByShopName(mixed $echo, mixed $tr) : string
protected getCartSummary() : array
protected getDeliveryOptionList() : array

This class extends \AdminController


Class: AdminTagsControllerCore

Class AdminTagsControllerCore

Visibility Function
public __construct() : void
AdminTagsControllerCore constructor.
public initPageHeaderToolbar() : void
Initialize page header toolbar
public postProcess() : bool
Post processing
public renderForm() : string
Render form
public renderList() : string
Render list

This class extends \AdminController


Class: AdminStockManagementControllerCore

Class AdminStockManagementControllerCore

Visibility Function
public __construct() : void
AdminStockManagementControllerCore constructor.
public displayAddstockLink(string $token=null, int $id) : string
Display addstock action link
public displayPrepareRemovestockLink(string $token=null, int $id) : string
Display removestock action link (fake link because don't have id_stock)
public displayPrepareTransferstockLink(string $token=null, int $id) : string
Display transferstock action link (fake link because don't have id_stock)
public displayRemovestockLink(string $token=null, int $id) : string
Display removestock action link
public displayTransferstockLink(string $token=null, int $id) : string
Display transferstock action link
public getList(int $idLang, string/null $orderBy=null, string/null $orderWay=null, int $start, int/null $limit=null, bool/int/bool $idLangShop=false) : void
AdminController::getList() override
public init() : void
AdminController::init() override
public initContent() : void
AdminController::initContent() override
public initPageHeaderToolbar() : void
Initialize page header toolbar
public initProcess() : void
Initialize process
public initToolbar() : void
assign default action in toolbar_btn smarty var, if they are not set. uses override to specifically add, modify or remove items
public postProcess() : bool
AdminController::postProcess() override
public prepareAddStockForm(mixed $idProduct, mixed $idProductAttribute, mixed $warehousesAdd) : void
Prepare add stock form
public prepareRemoveStockForm(mixed $idStock) : void
Prepare remove stock form
public prepareTransferStockForm(mixed $warehousesAdd) : void
Prepare transfer stock form
public previousManagementStock(int $idProduct, int $idProductAttribute) : void
Call if no GET id_stock, display a detail stock for a product/product_attribute (various price)
public renderDetails() : string
Render details
public renderForm() : void
AdminController::renderForm() override
public renderList() : string
AdminController::renderList() override
protected getStockAttributes() : array

This class extends \AdminController


Class: AdminSlipControllerCore

Class AdminSlipControllerCore

Visibility Function
public __construct() : void
AdminSlipControllerCore constructor.
public initContent() : void
Initialize content
public initPageHeaderToolbar() : void
Initialize page header toolbar
public initToolbar() : void
Initialize toolbar
public postProcess() : bool
Post processing
public printPDFIcons(int $idOrderSlip, array $tr) : string
Print PDF icons
public renderForm() : string
Render form

This class extends \AdminController


Class: AdminAttributesGroupsControllerCore

Class AdminAttributesGroupsControllerCore

Visibility Function
public __construct() : void
AdminAttributesGroupsControllerCore constructor.
public ajaxProcessUpdateAttributesPositions() : void
public ajaxProcessUpdateGroupsPositions() : void
public getList(int $idLang, string/null $orderBy=null, string/null $orderWay=null, int $start, int/null $limit=null, bool/int/bool $idLangShop=false) : mixed
AdminController::getList() override
public init() : void
public initContent() : void
public initPageHeaderToolbar() : void
public initProcess() : void
public initToolbar() : void
public initToolbarTitle() : void
public postProcess() : void
public processAdd() : \AttributeGroup
public processBulkDelete() : mixed
Overrides parent to delete items from sublist
public processPosition() : \Attribute/\AttributeGroup
public processSave() : mixed
Call the right method for creating or updating object
public processUpdate() : false/\ObjectModel/void
public renderForm() : string/null
public renderFormAttributes() : string/void
public renderList() : false/string
public renderView() : false/string/void
protected setTypeAttribute() : void

This class extends \AdminController


Class: AdminProductsControllerCore

Class AdminProductsControllerCore

Visibility Function
public __construct() : void
AdminProductsControllerCore constructor.
public addProductImage(\Product $product, string $method='auto') : int/false
Add or update a product image
public ajaxPreProcess() : void
Ajax pre process
public ajaxProcessAddAttachment() : void
Ajax process add attachment
public ajaxProcessAddProductImage() : void
Ajax process add product image
public ajaxProcessCheckProductName() : void
Ajax process product name check
public ajaxProcessDefaultProductAttribute() : void
Ajax process default ProductAttribute
public ajaxProcessDeleteProductAttribute() : void
Ajax process delete ProductAttribute
public ajaxProcessDeleteProductImage() : void
Ajax process delete product image
public ajaxProcessDeleteSpecificPrice() : void
Ajax process delete SpecificPrice
public ajaxProcessEditProductAttribute() : void
Ajax process edit ProductAttribute
public ajaxProcessGetCategoryTree() : void
Ajax process get category tree
public ajaxProcessGetCountriesOptions() : void
Ajax process get countries options
public ajaxProcessGetCurrenciesOptions() : void
Ajax process get currency options
public ajaxProcessGetGroupsOptions() : void
Ajax process get group options
public ajaxProcessProductManufacturers() : void
public ajaxProcessProductQuantity() : string/void
Ajax process product quantity
public ajaxProcessPublishProduct() : void
Ajax process publish product
public ajaxProcessUpdateCover() : void
Ajax process update cover
public ajaxProcessUpdateImagePosition() : void
Ajax process update image position
public ajaxProcessUpdatePositions() : void
Ajax process update positions
public ajaxProcessUpdateProductImageShopAsso() : void
Ajax process update Product image shop association
public checkMultishopBox(string $field, null $context=null) : bool
public checkProduct() : void
Check that a saved product is valid
public copyImage(int $idProduct, int $idImage, string $method='auto') : void/false
Copy a product image
public displayPreviewLink(null $token=null, mixed $id, null $name=null) : string
Display preview link
public getCombinationImagesJS() : string
Get combination images JS
public getL(mixed $key) : mixed
public getList(int $idLang, string/null $orderBy=null, string/null $orderWay=null, int $start, int/null $limit=null, int/null $idLangShop=null) : mixed
public getPackItems(\Product $product=null) : array of pack items
Get an array of pack items for display from the product object if specified, else from POST/GET values
public getPreviewUrl(\Product $product) : bool/string
public static getQuantities(string $echo, array $tr) : string
public haveThisAccessory(mixed $accessoryId, mixed $accessories) : bool
public initContent(null $token=null) : void
Initialize content
public initFormAssociations(\Product $obj) : void
public initFormAttachments(mixed $obj) : void
public initFormAttributes(\Product $product) : void
public initFormCombinations(mixed $obj) : void
Initialize combinations form
public initFormCustomization(\Product $obj) : void
public initFormFeatures(\Product $obj) : void
public initFormImages(\Product $obj) : void
public initFormInformations(\Product $product) : void
public initFormModules(mixed $obj) : void
AdminProducts display hook
public initFormPack(\Product $product) : void
public initFormPrices(\Product $obj) : void
public initFormQuantities(\Product $obj) : void
public initFormSeo(\Product $product) : void
Initialize SEO form
public initFormShipping(mixed $obj) : void
Initialize shipping form
public initFormSuppliers(\Product $obj) : void
public initFormVirtualProduct(\Product $product) : void
Initialize virtual product form
public initFormWarehouses(\Product $obj) : void
public initPageHeaderToolbar() : void
public initProcess() : void
Initialize processing
public initToolbar() : void
public postProcess() : void
postProcess handle every checks before saving products information
public processAdd() : bool/\ObjectModel
Process add
public processAttachments() : void
Attach an existing attachment to the product
public processCustomizationConfiguration() : void
Process customization configuration
public processDelete() : void
Process delete
public processDeleteVirtualProduct() : void
Process delete virtual product
public processDuplicate() : void
Process duplicate
public processFeatures() : void
Process features
public processImage() : void
Process image
public processImageLegends() : void
Process image legends
public processPosition() : void
Overrides parent for custom redirect link
public processPriceAddition() : void
Process price addition
public processPricesModification() : void
This function is never called at the moment (specific prices cannot be edited)
public processProductAttribute() : void
Process product attribute
public processProductCustomization() : void
Process product customization
public processSpecificPricePriorities() : void
Process specific price priorities
public processStatus() : bool/false/\ObjectModel
public processSuppliers() : void
Post treatment for suppliers
public processUpdate() : bool/\Product
Process update
public processWarehouses() : void
Post treatment for warehouses
public static recurseCategoryForInclude(int $idObj, array $indexedCategories, array $categories, mixed $current, null $idCategory=null, null $idCategoryDefault=null, array $hasSuite=array()) : string
Build a categories tree
public renderForm() : string
renderForm contains all necessary initialization needed for all tabs
public renderKpis() : mixed
Render KPIs
public renderList() : void
public renderListAttributes(\Product $product, \Currency/array/int $currency) : string
public setMedia() : void
public updateAccessories(object $product) : void
Update product accessories
public updateDownloadProduct(\Product $product, int $edit) : bool
Update product download
public updatePackItems(\Product $product) : bool
delete all items in pack, then check if type_product value is 2. if yes, add the pack items from input "inputPackItems"
public updateTags(array $languages, object $product) : bool Update result
Update product tags
protected _applyTaxToEcotax(\Product $product) : void
Apply tax to eco tax
protected _cleanMetaKeywords(array $keywords) : string
Clean meta keywords
protected _displayDraftWarning(mixed $active) : void
Display draft warning
protected _displayLabelField(mixed $label, mixed $languages, mixed $defaultLanguage, mixed $type, mixed $fieldIds, mixed $idCustomizationField) : string
protected _displayLabelFields(mixed $obj, mixed $labels, mixed $languages, mixed $defaultLanguage, mixed $type) : string
protected _displaySpecificPriceModificationForm(mixed $defaultCurrency, mixed $shops, mixed $currencies, mixed $countries, mixed $groups) : string
protected _displayUnavailableProductWarning() : void
Display product unavailable warning
protected _getCustomizationFieldIds(mixed $labels, mixed $alreadyGenerated, mixed $obj) : string
protected _getFinalPrice(mixed $specificPrice, mixed $productPrice, mixed $taxRate) : float
Get final price
protected _removeTaxFromEcotax() : void
Checking customs feature
protected _validateSpecificPrice(mixed $idShop, mixed $idCurrency, mixed $idCountry, mixed $idGroup, mixed $idCustomer, mixed $price, mixed $fromQuantity, mixed $reduction, mixed $reductionType, mixed $from, mixed $to, int $idCombination) : bool
Validate a SpecificPrice
protected addCarriers(mixed $product=null) : void
protected checkFeatures(mixed $languages, mixed $featureId) : int/mixed
Check features
protected copyFromPost(\Product/\ObjectModel $object, string $table) : void
protected getCarrierList() : array
Get carrier list
protected initPack(\Product $product) : void
protected isProductFieldUpdated(string $field, int $idLang=null) : bool
Check if a field is edited (if the checkbox is checked) This method will do something only for multishop with a context all / group
protected isTabSubmitted(string $tabName) : bool
Has the given tab been submitted?
protected loadObject(bool $opt=false) : false/\ObjectModel
Load object
protected processBulkDelete() : void
protected updateAssoShop(int $idObject) : void
Update shop association

This class extends \AdminController


Class: AdminEmailsControllerCore

Class AdminEmailsControllerCore

Visibility Function
public __construct() : void
AdminEmailsControllerCore constructor.
public ajaxProcessSendMailTest() : void
Ajax process send test mail
public beforeUpdateOptions() : void
Before options update
public initContent() : void
AdminController::initContent() override
public initToolbar() : void
Initialize toolbar
public processDelete() : bool
Process delete
public setMedia() : void
Set media
public updateOptionPsMailPasswd(mixed $value) : bool

This class extends \AdminController


Class: AdminAttributeGeneratorControllerCore

Class AdminAttributeGeneratorControllerCore

Visibility Function
public __construct() : void
AdminAttributeGeneratorControllerCore constructor.
public initBreadcrumbs(int/null $tabId=null, array/null $tabs=null) : void
public initContent() : void
public initGroupTable() : void
public initPageHeaderToolbar() : void
public initProcess() : void
public postProcess() : void
public processGenerate() : void
public setMedia() : void
protected addAttribute(array $attributes, float $price, int $weight) : array
protected static createCombinations(mixed $list) : array
protected static setAttributesImpacts(int $idProduct, array $tab) : bool

This class extends \AdminController


Class: AdminRangeWeightControllerCore

Class AdminRangeWeightControllerCore

Visibility Function
public __construct() : void
AdminRangeWeightControllerCore constructor.
public getList(int $idLang, string/null $orderBy=null, string/null $orderWay=null, int $start, int/null $limit=null, bool/int/bool $idLangShop=false) : mixed
Get list
public initPageHeaderToolbar() : void
Initialize page header toolbar
public postProcess() : void
Post processing
public renderForm() : string
Render form

This class extends \AdminController


Class: AdminQuickAccessesControllerCore

Class AdminQuickAccessesControllerCore

Visibility Function
public __construct() : void
AdminQuickAccessesControllerCore constructor.
public addQuickLink() : bool/string
Add quick link
public ajaxProcessGetUrl() : void
Ajax process get URL
public getLinkToken(array $item) : mixed
Get link token
public getQuickAccessesList() : string
Get quick access list
public initPageHeaderToolbar() : void
Initialize page header toolbar
public initProcess() : void
Initialize processing
public processDelete() : string
Process delete
public processNewWindow() : false/\ObjectModel/\QuickAccess
Process new window

This class extends \AdminController


Class: AdminSearchEnginesControllerCore

Class AdminSearchEnginesControllerCore

Visibility Function
public __construct() : void
AdminSearchEnginesControllerCore constructor.
public initPageHeaderToolbar() : void
Initialize page header toolbar

This class extends \AdminController


Class: AdminGroupsControllerCore

Visibility Function
public __construct() : void
public ajaxProcessAddCategoryReduction() : void
public displayEditLink(mixed $token=null, mixed $id, mixed $name=null) : void
public formatModuleListAuth(mixed $id_group) : void
public initPageHeaderToolbar() : void
public initProcess() : void
public initToolbar() : void
public printOptinIcon(mixed $value, mixed $customer) : void
public printShowPricesIcon(mixed $id_group, mixed $tr) : string HTML link and icon
Print enable / disable icon for show prices option
public processChangeShowPricesVal() : void
Toggle show prices flag
public processSave() : void
public renderForm() : void
public renderList() : void
public renderView() : void
public setMedia() : void
protected formatCategoryDiscountList(mixed $id_group) : void
protected renderCustomersList(mixed $group) : void
protected updateCategoryReduction() : void
protected updateRestrictions() : void
Update (or create) restrictions for modules by group
protected validateDiscount(mixed $reduction) : void

This class extends \AdminController


Class: AdminContactsControllerCore

Class AdminContactsControllerCore

Visibility Function
public __construct() : void
AdminContactsControllerCore constructor.
public initPageHeaderToolbar() : void
Initialize page header toolbar
public renderForm() : string
Render form

This class extends \AdminController


Class: AdminOutstandingControllerCore

Class AdminOutstandingControllerCore

Visibility Function
public __construct() : void
AdminOutstandingControllerCore constructor.
public initToolbar() : bool Force true (Hide New button)
Toolbar initialisation
public printOutstandingCalculation(int $idInvoice, array $tr) : string
Print outstanding calculation
public printPDFIcons(int $idInvoice, array $tr) : string HTML content
Column callback for print PDF incon
public renderView() : string
View render

This class extends \AdminController


Class: AdminCurrenciesControllerCore

Class AdminCurrenciesControllerCore

Visibility Function
public __construct() : void
AdminCurrenciesControllerCore constructor.
public ajaxProcessUpdateFxService() : void
Process update fx service ajax call
public initPageHeaderToolbar() : void
public initProcess() : void
public processDelete() : bool/false/\ObjectModel
public processExchangeRates() : void
Update currency exchange rates
public processStatus() : bool/false/\ObjectModel
public renderForm() : string
public renderList() : false/string
protected checkDeletion(mixed $object) : bool
protected checkDisableStatus(mixed $object) : bool
protected processBulkDelete() : bool
protected processBulkDisableSelection() : bool

This class extends \AdminController


Class: AdminStockCoverControllerCore

Class AdminStockCoverControllerCore

Visibility Function
public __construct() : void
AdminStockCoverControllerCore constructor.
public getList(int $idLang, string/null $orderBy=null, string/null $orderWay=null, int $start, int/null $limit=null, bool/int/bool $idLangShop=false) : mixed
AdminController::getList() override
public initContent() : void
Initialize content
public initPageHeaderToolbar() : void
Initialize page header toolbar
public initProcess() : void
Initialize processing
public renderDetails() : string
Render details
public renderList() : string
AdminController::renderList() override
protected getCurrentCoveragePeriod() : int coverage period
Gets the current coverage period used
protected getCurrentCoverageWarehouse() : int id_warehouse
Gets the current warehouse used
protected getCurrentWarning() : int
Gets the current warning
protected getQuantitySold(int $idProduct, int $idProductAttribute, int $coverage) : int $quantity
For a given product, and a given period, returns the quantity sold

This class extends \AdminController


Class: AdminModulesPositionsControllerCore

Class AdminModulesPositionsControllerCore

Visibility Function
public __construct() : void
AdminModulesPositionsControllerCore constructor.
public ajaxProcessGetHookableList() : void
Ajax process get hookable list
public ajaxProcessGetHookableModuleList() : void
Ajax process get hookable module list
public ajaxProcessGetPossibleHookingListForModule() : void
Return a json array containing the possible hooks for a module.
public ajaxProcessSaveHook() : void
Ajax process save hook
public ajaxProcessUpdatePositions() : void
Ajax process update positions
public displayModuleExceptionList(array $fileList, int $idShop) : string
Display module exception list
public getLiveEditUrl(array $liveEditParams) : string
Get live edit params
public initContent() : void
Initialize content
public initMain() : string
public initPageHeaderToolbar() : void
Initialize page header toolbar
public postProcess() : void
Post processing
public renderForm() : string
Render form

This class extends \AdminController


Class: AdminNotFoundControllerCore

Class AdminNotFoundControllerCore

Visibility Function
public __construct() : void
AdminNotFoundControllerCore constructor.
public checkAccess() : true
Check accesss Always returns true to make it always available
public initContent() : void
Initialize content
public viewAccess(bool $disable=false) : true
Has view access Always returns true to make it always available

This class extends \AdminController


Class: AdminBackupControllerCore

Class AdminBackupControllerCore

Visibility Function
public __construct() : void
AdminBackupControllerCore constructor.
public getList(int $idLang, string/null $orderBy=null, string/null $orderWay=null, int $start, int/null $limit=null, int/null $idLangShop=null) : mixed
public initContent() : void
public initToolbar() : void
public initViewDownload() : string
public intSort(int $a, int $b) : mixed
public postProcess() : void
public renderList() : false/string
public renderView() : string
public strSort(string $a, string $b) : int
protected loadObject(bool $opt=false) : object
Load class object using identifier in $_GET (if possible) otherwise return an empty object This method overrides the one in AdminTab because AdminTab assumes the id is a UnsignedInt "Backups" Directory in admin directory must be writeable (CHMOD 777)

This class extends \AdminController


Class: AdminTaxesControllerCore

Class AdminTaxesControllerCore

Visibility Function
public __construct() : void
AdminTaxesControllerCore constructor.
public displayDeleteLink(string/null $token=null, int $id) : string
Display delete action link
public displayEnableLink(string $token, int $id, int $value, string $active, int $idCategory=null, int $idProduct=null) : string
Fetch the template for action enable
public initPageHeaderToolbar() : void
Initialize page header toolbar
public postProcess() : void
Post processing
public renderForm() : string
Render form
public updateOptionPsUseEcotax(mixed $value) : void

This class extends \AdminController


Class: AdminAdminPreferencesControllerCore

Class AdminAdminPreferencesControllerCore

Visibility Function
public __construct() : void
public postProcess() : void
public updateOptionPsAttachementMaximumSize(mixed $value) : void
Update PS_ATTACHMENT_MAXIMUM_SIZE

This class extends \AdminController


Class: AdminStatsTabControllerCore (abstract)

Class AdminStatsTabControllerCore

Visibility Function
public ajaxProcessSetDashboardDateRange() : void
Ajax process set dashboard date range
public checkModulesNames(mixed $a, mixed $b) : bool
Compare module names
public displayCalendar() : string
DEPRECATED - 1.0.0
public static displayCalendarForm(mixed $translations, mixed $token, null $action=null, null $table=null, null $identifier=null, null $id=null) : string
Display calendar form
public displayMenu() : string
Display menu
public displayStats() : string
Display stats
public init() : void
Initialize
public initContent() : void
Initialize content
public initPageHeaderToolbar() : void
Initialize page header toolbar
public postProcess() : void
Post processing
public processDateRange() : void
Process date range
protected displayEngines() : string
Display engines
protected getDate() : string
Get date
protected getModules() : array/false/\mysqli_result/null/\PDOStatement/\resource
Get modules

This class extends \AdminPreferencesControllerCore


Class: AdminCustomersControllerCore

Class AdminCustomersControllerCore

Visibility Function
public __construct() : void
AdminCustomersControllerCore constructor.
public ajaxProcessSearchCustomers() : void
add to $this->content the result of Customer::SearchByName (encoded in json)
public ajaxProcessUpdateCustomerNote() : void
Uodate the customer note
public beforeAdd(\Customer $customer) : void
Before add
public displayDeleteLink(string $token=null, int $id, string $name=null) : mixed
public getList(int $idLang, string/null $orderBy=null, string/null $orderWay=null, int $start, int/null $limit=null, int/null $idLangShop=null) : void
Get list
public initContent() : void
Initialize content
public initPageHeaderToolbar() : void
Initialize page header toolbar
public initProcess() : void
Init process
public initToolbar() : void
Initialize toolbar
public initToolbarTitle() : void
Initialize toolbar title
public postProcess() : void
Post proces
public printNewsIcon(mixed $value, array $customer) : string
Print news icon
public printOptinIcon(mixed $value, array $customer) : string
Print opt-in icon
public processAdd() : bool/\Customer/false/\ObjectModel
Process add
public processChangeNewsletterVal() : void
Toggle the newsletter flag
public processChangeOptinVal() : void
Toggle newsletter optin flag
public processDelete() : void
Process delete
public processGuestToCustomer() : void
Transform a guest account into a registered customer account
public processSave() : bool
Process save
public processUpdate() : false/\ObjectModel
Process update
public renderForm() : string
Render form
public renderKpis() : mixed
Render kpis
public renderList() : string
Render list
public renderView() : string
Render view
protected _setDeletedMode() : void
Set deleted mode
protected afterDelete(\ObjectModel $object, int $oldId) : bool
After delete
protected processBulkDelete() : void
Process bulk delete

This class extends \AdminController


Class: AdminOrderMessageControllerCore

Class AdminOrderMessageControllerCore

Visibility Function
public __construct() : void
AdminOrderMessageControllerCore constructor.
public initPageHeaderToolbar() : void
Initialize page header toolbar

This class extends \AdminController


Class: AdminStockMvtControllerCore

Class AdminStockMvtControllerCore

Visibility Function
public __construct() : void
AdminStockMvtControllerCore constructor.
public getList(int $idLang, string/null $orderBy=null, string/null $orderWay=null, int $start, int/null $limit=null, bool/int/bool $idLangShop=false) : void
AdminController::getList() override
public initContent() : void
Initialize content
public initPageHeaderToolbar() : void
Initialize page header toolbar
public initProcess() : void
Initialize processing
public initToolbar() : void
public renderCSV() : void
Exports CSV
public renderList() : string
AdminController::renderList() override
protected getCurrentWarehouseId() : int warehouse_id
Gets the current warehouse for this controller

This class extends \AdminController


Class: AdminCmsControllerCore

Class AdminCmsControllerCore

Visibility Function
public __construct() : void
AdminCmsControllerCore constructor.
public getPreviewUrl(\CMS $cms) : string
Get preview URL
public initPageHeaderToolbar() : void
Initialize page header toolbar
public postProcess() : bool
Post process
public renderForm() : string
Render form
public renderList() : string
Render list

This class extends \AdminController


Class: AdminEmployeesControllerCore

Class AdminEmployeesControllerCore

Visibility Function
public __construct() : void
AdminEmployeesControllerCore constructor.
public ajaxProcessGetTabByIdProfile() : void
Ajax process get tab by id profile
public initContent() : void
Initialize content
public initPageHeaderToolbar() : void
public postProcess() : bool
public processDelete() : bool/false/\ObjectModel
Process delete
public processSave() : bool
public processStatus() : bool
public renderForm() : string
public renderList() : string
public setMedia() : void
public validateRules(bool $className=false) : bool
protected _childValidation() : bool
Child validation
protected afterUpdate(\Employee $object) : bool
protected ajaxProcessFormLanguage() : void
Ajax process form language
protected ajaxProcessToggleMenu() : void
Ajax process toggle menu
protected canModifyEmployee() : bool
protected processBulkDelete() : bool
Process bulk delete

This class extends \AdminController


Class: AdminShopControllerCore

Class AdminShopControllerCore

Visibility Function
public __construct() : void
AdminShopControllerCore constructor.
public ajaxProcessTree() : void
Ajax process tree
public displayAjaxGetCategoriesFromRootCategory() : void
public displayEditLink(null $token=null, int $id, null $name=null) : string/void
Display edit link
public getList(int $idLang, string/null $orderBy=null, string/null $orderWay=null, int $start, int/null $limit=null, bool/int/bool $idLangShop=false) : mixed
Get list
public initCategoriesAssociation(null $idRoot=null) : string
Initialize categories association
public initContent() : void
Initialize content
public initPageHeaderToolbar() : void
Initialize page header toolbar
public initToolbar() : void
Initialize toolbar
public postProcess() : bool/\Shop
Post processing
public processAdd() : void
Object creation
public processDelete() : bool
Process delete
public renderForm() : string
Render form
public renderList() : false/string
Render list
public viewAccess(bool $disable=false) : string
protected afterAdd(\Shop $newShop) : bool
protected afterUpdate(\Shop $newShop) : bool

This class extends \AdminController


Class: AdminSearchConfControllerCore

Class AdminSearchConfControllerCore

Visibility Function
public __construct() : void
AdminSearchConfControllerCore constructor.
public initPageHeaderToolbar() : void
Initialize page header toolbar
public initProcess() : void
Initialize processing
public processSave() : void
Process save
public renderForm() : string
Render form
public renderOptions() : string
Function used to render the options for this controller

This class extends \AdminController


Class: AdminRangePriceControllerCore

Class AdminRangePriceControllerCore

Visibility Function
public __construct() : void
AdminRangePriceControllerCore constructor.
public getList(int $idLang, string/null $orderBy=null, string/null $orderWay=null, int $start, int/null $limit=null, bool/int/bool $idLangShop=false) : void
Get list
public initPageHeaderToolbar() : void
Initialize page header toolbar
public postProcess() : void
Post processing
public renderForm() : string
Render form

This class extends \AdminController


Class: AdminMetaControllerCore

Class AdminMetaControllerCore

Visibility Function
public __construct() : void
AdminMetaControllerCore constructor.
public addAllRouteFields() : void
Add all custom route fields to the options form
public addFieldRoute(string $routeId, string $title) : void
public checkAndUpdateRoute(string $route) : void
Validate route syntax and save it in configuration
public checkConfiguration(string $file) : bool
Check if a file is writable
public generateRobotsFile() : void
public getList(int $idLang, string/null $orderBy=null, string/null $orderWay=null, int $start, int/null $limit=null, bool/int/bool $idLangShop=false) : mixed
public getRobotsContent() : array
public initPageHeaderToolbar() : void
public initProcess() : void
public postProcess() : bool/\Theme/null
public renderForm() : string
public renderList() : false/string
public renderOptions() : string
Function used to render the options for this controller
public saveHtaccessFile() : void
Save .htaccess file
public saveRobotsFile() : void
Save robots.txt file
public setMedia() : void
public updateOptionDomain(string $value) : void
Update shop domain (for mono shop)
public updateOptionDomainSsl(string $value) : void
Update shop SSL domain (for mono shop)
public updateOptionPsRewritingSettings() : void
Called when PS_REWRITING_SETTINGS option is saved
public updateOptionPsRouteCategoryRule() : void
public updateOptionPsRouteCmsCategoryRule() : void
public updateOptionPsRouteCmsRule() : void
public updateOptionPsRouteLayeredRule() : void
public updateOptionPsRouteManufacturerRule() : void
public updateOptionPsRouteProductRule() : void
public updateOptionPsRouteSupplierRule() : void
public updateOptionUri(string $value) : void
Update shop physical uri for mono shop)

This class extends \AdminController


Class: AdminCustomCodeControllerCore

Class AdminCustomCodeControllerCore Used to add custom meta, js and css to the front office

Visibility Function
public __construct() : void
AdminCustomCodeControllerCore constructor.

This class extends \AdminController


Class: AdminManufacturersControllerCore

Class AdminManufacturersControllerCore

Visibility Function
public __construct() : void
AdminManufacturersControllerCore constructor.
public displayEditaddressesLink(string $token=null, int $id) : string
Display editaddresses action link
public init() : void
AdminController::init() override
public initContent() : void
Initialize content
public initListManufacturer() : void
Init manufacturer list
public initListManufacturerAddresses() : void
Init manufacturer address list
public initPageHeaderToolbar() : void
Init page header
public initProcess() : void
Init process
public initToolbar() : void
AdminController::initToolbar() override
public processExport(string $textDelimiter='"') : void
public processSave() : bool Indicates whether save was successful
Process save
public renderForm() : string
Render form
public renderFormAddress() : void
Render address form
public renderList() : void
Render list
public renderView() : string
Render view
public setMedia() : void
Set media
protected afterImageUpload() : bool Indicates whether post processing was successful
After image upload
protected beforeDelete(\ObjectModel $object) : true
Before delete
protected getAddressFieldsList() : array
Get address field list

This class extends \AdminController


Class: AdminLanguagesControllerCore

Class AdminLanguagesControllerCore

Visibility Function
public __construct() : void
AdminLanguagesControllerCore constructor.
public ajaxProcessCheckLangPack() : void
Ajax process check language pack
public copyNoPictureImage(string $language) : void
Copy a no-product image
public initPageHeaderToolbar() : void
Initialize page header toolbar
public processAdd() : false/\ObjectModel
Process add
public processDelete() : bool/false/\ObjectModel
Process delete
public processStatus() : bool/false/\ObjectModel
Process status
public processUpdate() : bool/false/\ObjectModel
Process update
public renderForm() : string
Render form
public renderList() : false/string
Render list
protected afterImageUpload() : bool
After image upload
protected checkDeletion(mixed $object) : bool
Check deletion
protected checkDisableStatus(mixed $object) : bool
Check disable status
protected checkEmployeeIdLang(mixed $currentIdLang) : void
Check employee language id
protected copyFromPost(\Language $object, string $table) : void
protected deleteNoPictureImages(string $idLanguage) : bool true if no error
deleteNoPictureImages will delete all default image created for the language id_language
protected processBulkDelete() : bool
Process bulk delete
protected processBulkDisableSelection() : bool
Process bulk disable selection

This class extends \AdminController


Class: AdminStatesControllerCore

Class AdminStatesControllerCore

Visibility Function
public __construct() : void
AdminStatesControllerCore constructor.
public initPageHeaderToolbar() : void
Initialize page header toolbar
public postProcess() : void
Post processing
public renderForm() : string
Render form
protected displayAjaxStates() : void
Display ajax states

This class extends \AdminController


Class: AdminFeaturesControllerCore

Visibility Function
public __construct() : void
public ajaxProcessUpdatePositions() : void
public getList(int $idLang, string/null $orderBy=null, string/null $orderWay=null, int $start, int/null $limit=null, bool/int/bool $idLangShop=false) : mixed
AdminController::getList() override
public initContent() : void
AdminController::initContent() override
public initFormFeatureValue() : void
AdminController::renderForm() override
public initPageHeaderToolbar() : void
public initProcess() : void
public initToolbar() : void
AdminController::initToolbar() override
public initToolbarTitle() : void
public postProcess() : void
public processAdd() : void
Override processAdd to change SaveAndStay button action
public processSave() : mixed
Call the right method for creating or updating object
public processUpdate() : void
Override processUpdate to change SaveAndStay button action
public renderForm() : void
AdminController::renderForm() override
public renderList() : void
AdminController::renderList() override
public renderView() : void
protected setTypeFeature() : void
Change object type to feature (use when processing a feature)
protected setTypeValue() : void
Change object type to feature value (use when processing a feature value)

This class extends \AdminController


Class: AdminPPreferencesControllerCore

Class AdminPPreferencesControllerCore

Visibility Function
public __construct() : void
AdminPPreferencesControllerCore constructor.
public beforeUpdateOptions() : void
Before updating options

This class extends \AdminController


Class: AdminStockConfigurationControllerCore

Class AdminStockConfigurationControllerCore

Visibility Function
public __construct() : void
AdminStockConfigurationControllerCore constructor.
public ajaxProcessDeliveryNoteSupplyOrderState() : void
Ajax process delivery note supply order state
public ajaxProcessEditableSupplyOrderState() : void
public ajaxProcessEnclosedSupplyOrderState() : void
Ajax process enclosed supply order state
public ajaxProcessPendingReceiptSupplyOrderState() : void
Ajax process pending receipt supply order state
public ajaxProcessReceiptStateSupplyOrderState() : void
Ajax process receipt state supply order state
public getList(int $idLang, string/null $orderBy=null, string/null $orderWay=null, int $start, int/null $limit=null, bool/int/bool $idLangShop=false) : void
AdminController::getList() override
public init() : void
Initialize
public initContent() : void
Initialize content
public initProcess() : void
Initialize processing
public initSupplyOrderStatusList() : string
Help function for AdminStockConfigurationController::renderList()
public postProcess() : bool
AdminController::postProcess() override
public renderForm() : string
AdminController::renderForm() override
public renderList() : string
AdminController::renderList() override

This class extends \AdminController


Class: AdminCmsContentControllerCore

Class AdminCmsContentControllerCore

Visibility Function
public __construct() : void
AdminCmsContentControllerCore constructor.
public ajaxProcessPublishCMS() : void
Ajax process publish CMS
public ajaxProcessUpdateCmsCategoriesPositions() : void
Ajax process update CMSCategory positions
public ajaxProcessUpdateCmsPositions() : void
Ajax process update cms positions
public static getCurrentCMSCategory() : \CMSCategory
Return current category
public initContent() : void
Initialize content
public postProcess() : void
Post process
public renderPageHeaderToolbar() : void
Render toolbar in page header
public setMedia() : void
Set media
public viewAccess(bool $disable=false) : bool
Check if view access

This class extends \AdminController


Class: AdminCartRulesControllerCore

Class AdminCartRulesControllerCore

Visibility Function
public __construct() : void
AdminCartRulesControllerCore constructor.
public ajaxProcess() : void
public ajaxProcessLoadCartRules() : void
public ajaxProcessSearchProducts() : void
Return the form for a single cart rule group either with or without product_rules set up
public displayAjaxSearchCartRuleVouchers() : void
public getProductRuleDisplay(mixed $productRuleGroupId, mixed $productRuleId, mixed $productRuleType, array $selected=array()) : string
public getProductRuleGroupDisplay(int $productRuleGroupId, int $productRuleGroupQuantity=1, null $productRules=null) : string
public getProductRuleGroupsDisplay(\CartRule $cartRule) : array
Retrieve the cart rule product rule groups in the POST data if available, and in the database if there is none
public initPageHeaderToolbar() : void
public postProcess() : bool
public processAdd() : false/\ObjectModel
public processDelete() : false/\ObjectModel
public renderForm() : string
public setMedia() : void
protected afterAdd(\ObjectModel $currentObject) : void
protected afterUpdate(\ObjectModel $currentObject) : void
protected searchProducts(mixed $search) : array

This class extends \AdminController


Class: AdminReferrersControllerCore

Class AdminReferrersControllerCore

Visibility Function
public __construct() : void
AdminReferrersControllerCore constructor.
public displayCalendar(null $action=null, null $table=null, null $identifier=null, null $id=null) : mixed
public static displayCalendarForm(mixed $translations, mixed $token, null $action=null, null $table=null, null $identifier=null, null $id=null) : string
Display calendar form
public displaySettings() : string
Display settings
public initPageHeaderToolbar() : void
Initialize page header toolbar
public postProcess() : bool
Post processing
public renderForm() : string
Render form
public renderList() : false/string
Render list
public renderView() : string
Render view
public setMedia() : void
Set media
protected enableCalendar() : bool
Enable calendar

This class extends \AdminController


Class: AdminSuppliersControllerCore

Class AdminSuppliersControllerCore

Visibility Function
public __construct() : void
AdminSuppliersControllerCore constructor.
public initPageHeaderToolbar() : void
public initToolbar() : void
AdminController::initToolbar() override
public processAdd() : void
public processUpdate() : void
public renderForm() : string
Render form
public renderView() : string
Render view
public setMedia() : void
Set media
protected afterAdd(\Supplier $object) : bool
protected afterImageUpload() : void
protected afterUpdate(\Supplier $object) : bool
protected postProcessDelete() : void

This class extends \AdminController


Class: AdminMaintenanceControllerCore

Class AdminMaintenanceControllerCore

Visibility Function
public __construct() : void
AdminMaintenanceControllerCore constructor.

This class extends \AdminController


Class: AdminPreferencesControllerCore

Class AdminPreferencesControllerCore

Visibility Function
public __construct() : void
AdminPreferencesControllerCore constructor.
public updateOptionPsMultishopFeatureActive(string $value) : void
Enable / disable multishop menu if multishop feature is activated

This class extends \AdminController


Class: AdminZonesControllerCore

Class AdminZonesControllerCore

Visibility Function
public __construct() : void
AdminZonesControllerCore constructor.
public initPageHeaderToolbar() : void
Initialize page header toolbar
public renderForm() : string
public renderList() : false/string

This class extends \AdminController


Class: AdminStatsControllerCore

Class AdminStatsControllerCore

Visibility Function
public displayAjaxGetKpi() : void
Display ajax get KPI
public static get8020SalesCatalog(mixed $dateFrom, mixed $dateTo) : string
public static getAbandonedCarts(string $dateFrom, string $dateTo) : false/null/string
Get Abandoned Carts
public static getAverageCustomerAge() : float
Get average customer age
public static getAverageMessageResponseTime(string $dateFrom, string $dateTo) : float/int
Get average message response time
public static getBestCategory(string $dateFrom, string $dateTo) : false/null/string
Get best category
public static getCustomerMainGender() : array/bool
Get customer main gender
public static getDisabledCategories() : int
Get disabled categories
public static getDisabledModules() : false/null/string
Get disabled modules
public static getDisabledProducts() : int
Get disabled products
public static getEmptyCategories() : int
Get empty categories
public static getExpenses(string $dateFrom, string $dateTo, bool $granularity=false) : array/int/string
Get expenses
public static getInstalledModules() : false/null/string
Get installed modules
public static getMainCountry(string $dateFrom, string $dateTo) : array/bool/null/object
Get main country
public static getMessagesPerThread(string $dateFrom, string $dateTo) : float/int
Get messages per thread
public static getModulesToUpdate() : int
Get modules to update
public static getOrders(string $dateFrom, string $dateTo, bool $granularity=false) : array/false/null/string
Get Orders
public static getPendingMessages() : int
Get pending messages
public static getPercentProductOutOfStock() : string
public static getPercentProductStock() : string
public static getProductAverageGrossMargin() : string
public static getPurchases(string $dateFrom, string $dateTo, bool $granularity=false) : array/false/null/string
Get purchases
public static getTotalCategories() : int
Get total categories
public static getTotalProducts() : int
Get total products
public static getTotalSales(string $dateFrom, string $dateTo, bool $granularity=false) : array/false/null/string
Get total sales
public static getVisits(bool $unique=false, string $dateFrom, string $dateTo, bool $granularity=false) : array/int
Get visits

This class extends \AdminStatsTabController


Class: AdminStockInstantStateControllerCore

Class AdminStockInstantStateControllerCore

Visibility Function
public __construct() : void
AdminStockInstantStateControllerCore constructor.
public getList(int $idLang, string/null $orderBy=null, string/null $orderWay=null, int $start, int/null $limit=null, bool/int/bool $idLangShop=false) : mixed
AdminController::getList() override
public initContent() : bool
Initialize content
public initPageHeaderToolbar() : void
public initProcess() : bool
Initialize processing
public initToolbar() : void
public realQuantityCmp(array $n, array $m) : bool
CMP
public renderCSV() : void
Export CSV
public renderDetails() : string
Render details
public renderList() : string
AdminController::renderList() override
public valuationCmp(array $n, array $m) : bool
CMP
protected getCurrentCoverageWarehouse() : int
Gets the current warehouse used

This class extends \AdminController


Class: AdminModulesControllerCore

2007-2016 PrestaShop thirty bees is an extension to the PrestaShop e-commerce software developed by PrestaShop SA Copyright (C) 2017 thirty bees NOTICE OF LICENSE This source file is subject to the Open Software License (OSL 3.0) that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://opensource.org/licenses/osl-3.0.php If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to [email protected] so we can send you a copy immediately. DISCLAIMER Do not edit or add to this file if you wish to upgrade PrestaShop to newer versions in the future. If you wish to customize PrestaShop for your needs please refer to https://www.thirtybees.com for more information.

Visibility Function
public __construct() : void
Admin Modules Controller Constructor Init list modules categories Load id employee Load filter configuration Load cache file
public ajaxProcessGetModuleQuickView() : void
public ajaxProcessGetTabModulesList() : void
public ajaxProcessLogOnAddonsWebservices() : void
DEPRECATED - 1.0.0
public ajaxProcessLogOutAddonsWebservices() : void
public ajaxProcessRefreshModuleList(bool $forceReloadCache=false) : void
DEPRECATED - 1.0.0
public ajaxProcessReloadModulesList() : void
public ajaxProcessSaveFavoritePreferences() : void
public ajaxProcessSaveTabModulePreferences() : void
public ajaxProcessSetFilter() : void
public checkCategoriesNames(mixed $a, mixed $b) : void
public displayAjaxRefreshModuleList() : void
public initContent() : void
public initModal() : void
public initModulesList(mixed $modules) : void
public isModuleFiltered(mixed $module) : bool
public makeModulesStats(mixed $module) : void
public postProcess() : void
public postProcessCallback() : void
public postProcessDelete() : void
public postProcessDisable_Device() : void
public postProcessDownload() : void
public postProcessEnable() : void
public postProcessEnable_Device() : void
public postProcessFilterCategory() : void
public postProcessFilterModules() : void
public postProcessReset() : void
public postProcessResetFilterModules() : void
public postProcessUnfilterCategory() : void
public renderKpis() : void
public setMedia() : void
protected extractArchive(mixed $file, bool $redirect=true) : void
protected generateHtmlMessage(mixed $module_errors) : string
Generate html errors for a module process
protected getCurrentUrl(array $remove=array()) : mixed
protected getModulesByInstallation(mixed $tab_modules_list=null) : mixed
protected recursiveDeleteOnDisk(mixed $dir) : void
protected resetFilterModules() : void
protected setFilterModules(mixed $module_type, mixed $country_module_value, mixed $module_install, mixed $module_status) : void

This class extends \AdminController


Class: AdminCarrierWizardControllerCore

Class AdminCarrierWizardControllerCore

Visibility Function
public __construct() : void
AdminCarrierWizardControllerCore constructor.
public ajaxProcessChangeRanges() : void
public ajaxProcessFinishStep() : void
public ajaxProcessUploadLogo() : void
public ajaxProcessValidateStep() : void
public changeZones(int $id) : bool
public static displayFieldName(mixed $field) : mixed
public duplicateLogo(int $newId, int $oldId) : void
public getActualCurrency() : \Currency
public getStepFiveFieldsValues(mixed $carrier) : array
public getStepFourFieldsValues(mixed $carrier) : array
public getStepOneFieldsValues(mixed $carrier) : array
public getStepThreeFieldsValues(mixed $carrier) : array
public getStepTwoFieldsValues(mixed $carrier) : array
public getValidationRules() : array/void
public initBreadcrumbs(null $tabId=null, null $tabs=null) : void
public initPageHeaderToolbar() : void
public initWizard() : void
public processRanges(int $idCarrier) : bool/null
public renderGenericForm(mixed $fieldsForm, mixed $fieldsValue, array $tplVars=array()) : string
public renderStepFive(mixed $carrier) : string
public renderStepFour(\Carrier $carrier) : string
public renderStepOne(mixed $carrier) : string
public renderStepThree(mixed $carrier) : string
public renderStepTwo(mixed $carrier) : string
public renderView() : string/void
public setMedia() : void
protected changeGroups(mixed $idCarrier, bool $delete=true) : bool
protected getTplRangesVarsAndValues(\Carrier $carrier, array $tplVars, array $fieldsValue) : mixed
protected validateForm(bool $die=true) : void

This class extends \AdminController


Class: AdminCustomerThreadsControllerCore

Class AdminCustomerThreadsControllerCore

Visibility Function
public __construct() : void
AdminCustomerThreadsControllerCore constructor.
public ajaxProcessMarkAsRead() : void
public ajaxProcessSyncImap() : void
Call the IMAP synchronization during an AJAX process.
public getList(int $idLang, string/null $orderBy=null, string/null $orderWay=null, int $start, int/null $limit=null, bool/int/bool $idLangShop=false) : mixed
AdminController::getList() override
public getTimeline(mixed $messages, mixed $idOrder) : array
Get timeline
public initContent() : void
Initialize content
public initToolbar() : void
public postProcess() : bool
public printOptinIcon(mixed $value, mixed $customer) : string
public renderKpis() : mixed
Render KPIs
public renderList() : string
Render list
public renderOptions() : string
Render options
public renderProcessSyncImap() : void
Call the IMAP synchronization during the render process.
public renderView() : string
Render view
public syncImap() : array Errors list.
Imap synchronization method.
public updateOptionPsSavImapOpt(mixed $value) : void
protected displayButton(mixed $content) : string
protected displayMessage(mixed $message, bool $email=false, null $idEmployee=null) : string
protected openUploadedFile() : void

This class extends \AdminController


Class: AdminCountriesControllerCore

Class AdminCountriesControllerCore

Visibility Function
public __construct() : void
AdminCountriesControllerCore constructor.
public static displayCallPrefix(string $prefix) : string
Display call prefix
public initPageHeaderToolbar() : void
public postProcess() : bool
Post process
public processBulkStatusSelection(bool $way) : bool/void
Process bulk status selection
public processSave() : bool
Process save
public processStatus() : bool
Process status
public processUpdate() : false/\ObjectModel
Process update
public renderForm() : string
Render form
public renderList() : string
Render list
public setMedia() : void
AdminController::setMedia() override
protected displayValidFields() : string
Display valid fields

This class extends \AdminController


Class: AdminReturnControllerCore

Class AdminReturnControllerCore

Visibility Function
public __construct() : void
AdminReturnControllerCore constructor.
public initToolbar() : void
Initialize toolbar
public postProcess() : void
Post processing
public renderForm() : string
Render form

This class extends \AdminController


Class: AdminAccessControllerCore

Class AdminAccessControllerCore

Visibility Function
public __construct() : void
AdminAccessControllerCore constructor.
public ajaxProcessUpdateAccess() : void
public ajaxProcessUpdateModuleAccess() : void
public getCurrentProfileId() : int the $_GET['profile'] if valid, else 1 (the first profile id)
Get the current profile id
public initContent() : void
public initPageHeaderToolbar() : void
public initToolbarTitle() : void
public renderForm() : string
protected sortModuleByName(mixed $a, mixed $b) : int

This class extends \AdminController


Class: AdminShippingControllerCore

Class AdminShippingControllerCore

Visibility Function
public __construct() : void
AdminShippingControllerCore constructor.
public postProcess() : bool
Post processing

This class extends \AdminController


Class: AdminRequestSqlControllerCore

Class AdminRequestSqlControllerCore

Visibility Function
public __construct() : void
AdminRequestSqlControllerCore constructor.
public _childValidation() : void
Child validation
public ajaxProcess() : void
method call when ajax request is made with the details row action
public displayError(array $e) : void
Display all errors
public displayExportLink(string $token, int $id) : string
Display export action link
public generateExport() : void
Generating a export file
public initContent() : void
Initialize content
public initPageHeaderToolbar() : void
Initialize page header toolbar
public initProcess() : void
Initialize processing
public initToolbar() : void
Initialize toolbar
public postProcess() : bool
Post processing
public renderForm() : string
Render form
public renderList() : false/string
Render list
public renderOptions() : string
Render options
public renderView() : string
Render view

This class extends \AdminController


Class: AdminCarriersControllerCore

Class AdminCarriersControllerCore

Visibility Function
public __construct() : void
AdminCarriersControllerCore constructor.
public ajaxProcessUpdatePositions() : void
public changeZones(int $id) : void
public displayDeleteLink(null $token=null, mixed $id, null $name=null) : string/void
public displayEditLink(null $token=null, mixed $id, null $name=null) : string/void
public getFieldsValues(object $obj) : mixed
Overload the property $fields_value
public getList(int $idLang, string/null $orderBy=null, string/null $orderWay=null, int $start, int/null $limit=null, bool/int/bool $idLangShop=false) : mixed
Modifying initial getList method to display position feature (drag and drop)
public initPageHeaderToolbar() : void
public initToolbar() : void
public postProcess() : void
public processIsFree() : void
public renderForm() : string/void
public renderList() : false/string
public renderView() : string
protected beforeDelete(\Carrier $object) : int
protected changeGroups(mixed $idCarrier, bool $delete=true) : void
protected initTabModuleList() : void

This class extends \AdminController


Class: AdminPaymentControllerCore

Class AdminPaymentControllerCore

Visibility Function
public __construct() : void
AdminPaymentControllerCore constructor.
public initContent() : void
public initPageHeaderToolbar() : void
public initProcess() : void
public initToolbarTitle() : void
public postProcess() : void
public renderModulesList() : mixed/string
public renderView() : string
public setMedia() : void
protected saveRestrictions(mixed $type) : void

This class extends \AdminController


Class: AdminScenesControllerCore

Class AdminScenesControllerCore

Visibility Function
public __construct() : void
AdminScenesControllerCore constructor.
public initFieldsForm() : void
Init fields form
public initPageHeaderToolbar() : void
Initialize page header toolbar
public initToolbar() : void
Initialize toolbar
public postProcess() : bool
Post processing
public renderForm() : string
Render form
protected afterImageUpload() : bool
After image upload

This class extends \AdminController


Class: AdminDeliverySlipControllerCore

Class AdminDeliverySlipControllerCore

Visibility Function
public __construct() : void
AdminDeliverySlipControllerCore constructor.
public initContent() : void
Initialize content
public postProcess() : void
Post processing
public renderForm() : string
Render form

This class extends \AdminController


Class: AdminTranslationsControllerCore

Class AdminTranslationsControllerCore

Visibility Function
public __construct() : void
AdminTranslationsControllerCore constructor.
public static addNewTabs(array $isoCode, array $files) : array
Add new translations tabs by code ISO
public changeModulesKeyTranslation(string $path, string $themeFrom, string $themeTo) : bool
Change the key translation to according it to theme name.
public static checkAndAddMailsFiles(string $isoCode, array $filesList) : bool
Check and add mail files
public checkAndAddThemesFiles(array $files, array $themesSelected) : void
Move theme translations in selected themes
public checkIfKeyUseSprintf(mixed $key) : array/bool return list of matches
Find sentence which use %d, %s, %%, %1$d, %1$s...
public static checkTranslationFile(string $content) : bool
public clearModuleFiles(mixed $files, string $typeClear='file', string $path='') : array : list of good files
Clear the list of module file by type (file or directory)
public copyMailFilesForAllLanguages() : bool
public displayLimitPostWarning(int $count) : array
public displayToggleButton(bool $closed=false) : string
public exportTabs() : void
public fileExists() : array : translations
Include file $dir/$file and return the var $var declared in it. This create the file if not exists
public static filesListToPaths(array $list) : array
Turn the list returned by AdminTranslationsController::filterTranslationFiles() into a list of paths that can be passed to Archive_Tar::extractList()
public static filterTranslationFiles(array $list) : array
Filter the translation files contained in a .gzip pack and return only the ones that we want. Right now the function only needs to check that the modules for which we want to add translations are present on the shop (installed or not).
public static getEmailHTML(string $email) : string
public getFileToParseByTypeTranslation() : array : list of files by directory
Get list of files which must be parsed by directory and by type of translations
public getInformations() : void
Get all informations on : languages, theme and the translation type.
public getListModules() : array List of modules
Check if directory and file exist and return an list of modules
public getMailFiles(string $dir, string $groupName='mail') : array : list of mails
Get each informations for each mails found in the folder $dir.
public getModulesHasMails(bool $withModuleName=false) : array Array of modules which have mails
Check in each module if contains mails folder.
public getModulesHasPDF(bool $classes=false) : array Array of modules which have pdf
Check in each module if contains pdf folder.
public getTranslationsInformations() : void
Get all translations informations for all type of translations array( 'type' => array( 'name' => string : title for the translation type, 'var' => string : name of var for the translation file, 'dir' => string : dir of translation file 'file' => string : file name of translation file ) )
public initContent() : void
AdminController::initContent() override
public initForm(string $methodName) : mixed Call the method $this->method_name()
This function create vars by default and call the good method for generate form
public initFormBack() : string
This method generate the form for back translations
public initFormErrors() : string
This method generate the form for errors translations
public initFormFields() : string
This method generate the form for fields translations
public initFormFront() : void
This method generate the form for front translations
public initFormMails(bool $noDisplay=false) : array/string
This method generate the form for mails translations
public initFormModules() : string
This method generate the form for modules translations
public initFormPDF() : string
This method generate the form for PDF translations
public initMain() : string
Generate the Main page
public initToolbar() : void
AdminController::initToolbar() override
public listFiles(string $dir, array $list=array(), string $fileExt='tpl') : array
Recursively list files in directory $dir
public postProcess() : void
AdminController::postProcess() override
public renderKpis() : mixed
public setTypeSelected(string $typeSelected) : void
public submitAddLang() : void
public submitCopyLang() : void
public submitExportLang() : void
public submitImportLang() : void
Submit import lang
protected checkDirAndCreate(string $dest) : bool
This method is only used by AdminTranslations::submitCopyLang(). It try to create folder in new theme. When a translation file is copied for a module, its translation key is wrong. We have to change the translation key and rewrite the file.
protected cleanMailContent(mixed $content, mixed $lang, mixed $title) : void
Clean mail content
protected displayMailBlockHtml(array $content, string $lang, string $url, string $mail_name, string $groupName, bool/string/bool $nameForModule=false) : string
Just build the html structure for display html mails.
protected displayMailBlockTxt(array $content, string $lang, string $mailName, string $groupName, bool/string/bool $nameForModule=false) : string
Just build the html structure for display txt mails
protected displayMailContent(array $mails, array $allSubjectMail, \Language $objLang, string $idHtml, string $title, bool/string/bool $nameForModule=false) : string
Display mails in html format. This was create for factorize the html displaying
protected displayMailEditor(mixed $content, mixed $lang, mixed $url, mixed $mailName, mixed $groupName, bool $nameForModule=false) : string
protected findAndFillTranslations(array $files, string $themeName, string $moduleName, bool/string/bool $dir=false) : void
This method get translation for each files of a module, compare with global $_MODULES array and fill AdminTranslations::modules_translations array With key as English sentences and values as their iso code translations.
protected findAndWriteTranslationsIntoFile(string $fileName, array $files, string $themeName, string $moduleName, bool/string/bool $dir=false) : void
This method check each file (tpl or php file), get its sentences to translate, compare with posted values and write in iso code translation file.
protected getAllModuleFiles(array $modules, string/null $rootDir=null, string $lang, bool $isDefault=false) : array
This method get translation in each translations file. The file depend on $lang param. This allow to distinguish overridden prestashop theme and original module
protected getMailContent(string $dir, string $file) : string content of file
Get content of the mail file.
protected getMailPattern() : string
Get mail pattern
protected getModuleTranslations() : void
This method merge each arrays of modules translation in the array of modules translations
protected getSubjectMail(mixed $dir, mixed $file, mixed $subjectMail) : array : list of subjects of mails
Get list of subjects of mails
protected getSubjectMailContent(mixed $directory) : array
protected getTinyMCEForMails(string $isoLang) : string
protected parsePdfClass(string $filePath, string $fileType, array $langArray, string $tab, array $tabsArray, array $countMissing) : array Array Containing all datas needed for building the translation form
Parse PDF class
protected recursiveGetModuleFiles(string $path, array $arrayFiles, string $moduleName, string $langFile, bool $isDefault=false) : void
This get files to translate in module directory. Recursive method allow to get each files for a module no matter his depth.
protected redirect(bool $saveAndStay=false, bool $conf=false) : void
This method redirect in the translation main page or in the translation page
protected submitTranslationsMails() : void
This method is used to write translation for mails. This writes subject translation files (in root/mails/lang_choosen/lang.php or root/PS_THEMES_DIR/mails/lang_choosen/lang.php) and mails files.
protected theme_exists(string $theme) : bool
Checks if theme exists
protected userParseFile(mixed $content, mixed $typeTranslation, bool/string/bool $typeFile=false, string $moduleName='') : array
This method parse a file by type of translation and type file
protected writeSubjectTranslationFile(mixed $sub, mixed $path) : void
protected writeTranslationFile(bool $overrideFile=false) : void
Read the Post var and write the translation file. This method overwrites the old translation file.

This class extends \AdminController


Class: AdminPerformanceControllerCore

Class AdminPerformanceControllerCore

Visibility Function
public __construct() : void
AdminPerformanceControllerCore constructor.
public disableDebugMode() : int Whether changing debug mode succeeded or error code
Disable debug mode
public disableProfiling() : int Whether changing profiling succeeded or error code
Disable profiling
public displayAjaxTestMemcachedServer() : void
public displayAjaxTestRedisServer() : void
Perform a short test to see if Redis is enabled and return the result through ajax
public displayAjaxUpdateDynamicHooks() : void
Process dynamic hook setting
public displayControllerList(mixed $fileList, mixed $idShop) : string
public enableDebugMode() : int Whether changing debug mode succeeded or error code
Enable debug mode
public enableProfiling() : int Whether changing profiling succeeded or error code
Enable profiling
public initContent() : void
public initFieldsetCCC() : void
public initFieldsetCaching() : void
public initFieldsetCiphering() : void
public initFieldsetDebugMode() : void
public initFieldsetFeaturesDetachables() : void
public initFieldsetFullPageCache() : void
public initFieldsetMediaServer() : void
public initFieldsetSmarty() : void
public initPageHeaderToolbar() : void
public isDebugModeEnabled() : bool Whether debug mode is enabled
Is Debug Mode enabled?
public isDefinesReadable(bool $custom=false) : bool Whether the file can be read
Check read permission on defines.inc.php
public isProfilingEnabled() : bool Whether profiling is enabled
Is profiling enabled?
public postProcess() : void
public renderForm() : string

This class extends \AdminController


Class: AdminStatusesControllerCore

Class AdminStatusesControllerCore

Visibility Function
public __construct() : void
AdminStatusesControllerCore constructor.
public ajaxProcessDeliveryOrderState() : void
Ajax process delivery order state
public ajaxProcessInvoiceOrderState() : void
Ajax process invoice order state
public ajaxProcessSendEmailOrderState() : void
Ajax process send order email state
public init() : void
Initialize
public initPageHeaderToolbar() : void
Initialize page header toolbar
public postProcess() : bool
Post processing
public renderForm() : string
Render form
public renderList() : string
Function used to render the list to display for this controller
protected afterImageUpload() : bool
protected checkFilterForOrdersReturnsList() : void
protected filterToField(string $key, string $filter) : array/false
protected getTemplates() : array
Get templates
protected initOrderReturnsForm() : \HelperForm
Initialize order returns form
protected initOrderStatutsList() : void
init all variables to render the order status list
protected initOrdersReturnsList() : void
init all variables to render the order return list
protected renderOrderReturnsForm() : string
Render order returns form
protected renderOrderStatusForm() : string
Render order status form

This class extends \AdminController


Class: AdminLogsControllerCore

Class AdminLogsControllerCore

Visibility Function
public __construct() : void
AdminLogsControllerCore constructor.
public displayEmployee(mixed $value, array $tr) : mixed
public initToolbar() : void
public processDelete() : void

This class extends \AdminController


Class: AdminAddressesControllerCore

Class AdminAddressesControllerCore

Visibility Function
public __construct() : void
AdminAddressesControllerCore constructor.
public ajaxProcess() : void
Method called when an ajax request is made
public initPageHeaderToolbar() : void
public initToolbar() : void
public processAdd() : false/\ObjectModel
public processDelete() : false/\ObjectModel
public processSave() : bool/false/\ObjectModel/null
public renderForm() : string
protected processAddressFormat() : array address formats
Get Address formats used by the country where the address id retrieved from POST/GET is.
protected processBulkDelete() : bool true if succcess
Delete multiple items

This class extends \AdminController


Class: AdminLocalizationControllerCore

Class AdminLocalizationControllerCore

Visibility Function
public __construct() : void
AdminLocalizationControllerCore constructor.
public beforeUpdateOptions() : void
public display() : void
public initContent() : void
public postProcess() : void
public renderForm() : string/null
public sortLocalizationsPack(array $a, array $b) : bool
public updateOptionPsCurrencyDefault(string $value) : void

This class extends \AdminController


Class: AdminGendersControllerCore

Visibility Function
public __construct() : void
public displayGenderType(mixed $value, mixed $tr) : void
public initPageHeaderToolbar() : void
public renderForm() : void
protected afterImageUpload() : void
protected postImage(mixed $id) : void

This class extends \AdminController


Class: AdminDashboardControllerCore

Class AdminDashboardControllerCore

Visibility Function
public __construct() : void
AdminDashboardControllerCore constructor.
public ajaxProcessGetBlogRss() : void
public ajaxProcessRefreshDashboard() : void
public ajaxProcessSaveDashConfig() : void
public ajaxProcessSetSimulationMode() : void
public initPageHeaderToolbar() : void
public postProcess() : void
public renderView() : string
public setMedia() : void
protected getOptionFields() : array
protected getWarningDomainName() : bool/null/string

This class extends \AdminController


Class: AdminTaxRulesGroupControllerCore

Class AdminTaxRulesGroupControllerCore

Visibility Function
public __construct() : void
AdminTaxRulesGroupControllerCore constructor.
public initPageHeaderToolbar() : void
Initialize page header toolbar
public initProcess() : void
Initialize processing
public initRuleForm() : string
Initialize rule form
public initRulesList(int $idGroup) : false/string
Initialize rules list
public renderForm() : string
Render form
public renderList() : false/string
Render list
protected deleteTaxRule(array $idTaxRuleList) : void
Delete Tax Rule
protected displayAjaxUpdateTaxRule() : void
protected processBulkDeleteTaxRules() : void
protected processCreateRule() : void
Process rule create
protected processDeleteTaxRule() : void
protected updateTaxRulesGroup(\TaxRulesGroup $object) : \TaxRulesGroup
protected validateTaxRule(\TaxRule $tr) : array
Check if the tax rule could be added in the database

This class extends \AdminController


Class: AdminTabsControllerCore

Class AdminTabsControllerCore

Visibility Function
public __construct() : void
AdminTabsControllerCore constructor.
public ajaxProcessUpdatePositions() : void
Ajax process update positions
public initPageHeaderToolbar() : void
Initialize page header toolbar
public initProcess() : void
Initialize processing
public postProcess() : void
Post processing
public renderDetails() : string
Render details
public renderForm() : string
AdminController::renderForm() override
public renderList() : string
AdminController::renderList() override
protected afterImageUpload() : void
After image upload

This class extends \AdminController


Class: AdminProfilesControllerCore

Class AdminProfilesControllerCore

Visibility Function
public __construct() : void
AdminProfilesControllerCore constructor.
public initPageHeaderToolbar() : void
Initialize page header toolbar
public postProcess() : void
Post processing

This class extends \AdminController


Class: AdminSpecificPriceRuleControllerCore

Class AdminSpecificPriceRuleControllerCore

Visibility Function
public __construct() : void
AdminSpecificPriceRuleControllerCore constructor.
public getList(int $idLang, null $orderBy=null, null $orderWay=null, int $start, null $limit=null, bool $idLangShop=false) : void
Get list
public initPageHeaderToolbar() : void
Initialize page header toolbar
public postProcess() : bool
Post process
public processSave() : false/\SpecificPriceRule
Process save
public renderForm() : string
Render form

This class extends \AdminController


Class: AdminSearchControllerCore

Class AdminSearchControllerCore

Visibility Function
public __construct() : void
AdminSearchControllerCore constructor.
public initToolbar() : void
Initialize toolbar
public initToolbarTitle() : void
Initialize toolbar title
public postProcess() : void
Post processing
public renderView() : string
Render view
public searchCatalog() : void
Search a specific string in the products and categories
public searchCustomer() : void
Search a specific name in the customers
public searchFeatures() : void
Search a feature in all store
public searchIP() : void
Search by ip
public searchModule() : void
public setMedia() : void
Set media
protected initCustomerList() : void
Initialize customer list
protected initOrderList() : void
Initialize order list
protected initProductList() : void
Extend this to remove buttons

This class extends \AdminController


Class: AdminShopGroupControllerCore

Class AdminShopGroupControllerCore

Visibility Function
public __construct() : void
AdminShopGroupControllerCore constructor.
public getList(int $idLang, string/null $orderBy=null, string/null $orderWay=null, int $start, int/null $limit=null, bool/int/bool $idLangShop=false) : void
Get list
public initContent() : void
Initialize content
public initPageHeaderToolbar() : void
Initialize page header toolbar
public initToolbar() : void
Initialize toolbar
public postProcess() : bool
Post processing
public renderForm() : string
Render form
public renderOptions() : string
Render options
public viewAccess(bool $disable=false) : string
protected afterAdd(\ShopGroup $newShopGroup) : void
After add
protected afterUpdate(\ShopGroup $newShopGroup) : void
After update

This class extends \AdminController


Class: AdminPatternsControllerCore

Class AdminPatternsControllerCore

Visibility Function
public __construct() : void
AdminPatternsControllerCore constructor.
public initContent() : void
Initialize content
public renderForm() : string
Render form
public renderList() : string
Render list
public renderListModel() : string
Render list model
public renderListSimpleHeader() : string
Render simple header list
public renderListSmallColumns() : string
Render small icons of the list
public renderListWithParentClass() : false/string
Render list with parent class
public renderOptions() : string
Render options
public setMedia() : void
Set media
public viewAccess(bool $disable=false) : true

This class extends \AdminController


Class: AdminShopUrlControllerCore

Class AdminShopUrlControllerCore

Visibility Function
public __construct() : void
AdminShopUrlControllerCore constructor.
public displayDeleteLink(string $token=null, int $id, string $name=null) : mixed
public initContent() : void
Initialize content
public initPageHeaderToolbar() : void
Initialize page header toolbar
public initToolbar() : void
Initialize toolbar
public postProcess() : bool
Post processing
public processAdd() : false/\ObjectModel
Process add
public processSave() : bool
Process save
public processUpdate() : false/\ObjectModel
Process update
public renderForm() : string
Render form
public renderList() : false/string
Render list
public viewAccess(bool $disable=false) : string
protected afterUpdate(\ShopUrl $object) : void

This class extends \AdminController


Class: AdminCustomerPreferencesControllerCore

Class AdminCustomerPreferencesControllerCore

Visibility Function
public __construct() : void
AdminCustomerPreferencesControllerCore constructor.
public updateOptionPsB2bEnable(int $value) : void
Update PS_B2B_ENABLE and enables / disables the associated tabs

This class extends \AdminController


Class: AdminInvoicesControllerCore

Class AdminInvoicesControllerCore

Visibility Function
public __construct() : void
AdminInvoicesControllerCore constructor.
public beforeUpdateOptions() : void
Before updating options
public initContent() : void
Initialize content
public initFormByDate() : string
Initialize form by date
public initFormByStatus() : string
Initialize form by status
public initPageHeaderToolbar() : void
Initialize page header toolbar
public initToolbarTitle() : void
Initialize toolbar title
public postProcess() : void
Post processing
protected getInvoicesModels() : array
Get invoice models
protected getInvoicesModelsFromDir(string $directory) : array/false
Get invoice models from dir

This class extends \AdminController


Class: AdminAttachmentsControllerCore

Class AdminAttachmentsControllerCore

Visibility Function
public __construct() : void
AdminAttachmentsControllerCore constructor.
public static displayHumanReadableSize(mixed $size) : string
public getList(int $idLang, null $orderBy=null, null $orderWay=null, int $start, null $limit=null, bool $idLangShop=false) : mixed
public initPageHeaderToolbar() : void
public postProcess() : bool/null
public renderForm() : string
public renderView() : void
public setMedia() : void

This class extends \AdminController


Class: AdminGeolocationControllerCore

Class AdminGeolocationControllerCore

Visibility Function
public __construct() : void
AdminGeolocationControllerCore constructor.
public initContent() : void
Initialize content
public processUpdateOptions() : void
Process update options
public renderOptions() : string
Render options
protected isGeoLiteCityAvailable() : bool
Check if geolite city file is available

This class extends \AdminController


Class: AdminPdfControllerCore

Class AdminPdfControllerCore

Visibility Function
public checkCacheFolder() : void
Check cache folder
public generateDeliverySlipPDFByIdOrder(int $idOrder) : void
Generate Delivery Slip PDF by Order ID
public generateDeliverySlipPDFByIdOrderInvoice(int $idOrderInvoice) : void
Generate Delivery Slip PDF by OrderInvoice ID
public generateInvoicePDFByIdOrder(int $idOrder) : void
Generate PDF invoice by Order ID
public generateInvoicePDFByIdOrderInvoice(int $idOrderInvoice) : void
Generate PDF Invoice by OrderInvoice ID
public generatePDF(mixed $object, mixed $template) : void
Generate PDF
public initProcess() : void
Initialize processing
public postProcess() : void
Post processing
public processGenerateDeliverySlipPDF() : void
Process generate Delivery Slip PDF
public processGenerateDeliverySlipsPDF() : void
Generate Delivery Slip PDFs
public processGenerateInvoicePdf() : void
Process generate invoice PDF
public processGenerateInvoicesPDF() : void
Generate PDF invoices
public processGenerateInvoicesPDF2() : void
Generate PDF invoices 2
public processGenerateOrderSlipPDF() : void
Generate Order Slip PDF
public processGenerateOrderSlipsPDF() : void
Generate Order Slip PDFs
public processGenerateSupplyOrderFormPDF() : void
Generate Supply Order Form PDFs

This class extends \AdminController


Class: AdminCmsCategoriesControllerCore

Class AdminCmsCategoriesControllerCore

Visibility Function
public __construct() : void
AdminCmsCategoriesControllerCore constructor.
public postProcess() : bool/\CMSCategory/false/\ObjectModel
public renderForm() : string/null
public renderList() : false/string

This class extends \AdminController


Class: AdminMarketingControllerCore

Class AdminMarketingControllerCore

Visibility Function
public __construct() : void
AdminMarketingControllerCore constructor.
public initContent() : void
Initialize content
public initPageHeaderToolbar() : void
Initialize page header toolbar
public initToolbar() : false
Initialize toolbar
public initToolbarTitle() : void
Initialize page toolbar title
public renderView() : string
Render view

This class extends \AdminController


Class: AdminThemesControllerCore

Class AdminThemesControllerCore

Visibility Function
public __construct() : void
AdminThemesControllerCore constructor.
public ajaxProcessGetAddonsThemes() : void
public ajaxProcessLeftMeta() : void
Ajax process left meta
public ajaxProcessRightMeta() : void
Ajax process right meta
public downloadAddonsThemes() : bool
public init() : void
Initialize
public initContent() : void
Initialize content
public initPageHeaderToolbar() : void
Initialize page header toolbar
public initProcess() : void
Initialize processing
public postProcess() : void
This functions make checks about AdminThemes configuration edition only.
public printResponsiveIcon(mixed $value) : string
Print responsive icon
public processAdd() : bool/\Theme
Process add
public processDefaultLeftColumn() : false/\ObjectModel/\Theme
Process default left column
public processDefaultRightColumn() : false/\ObjectModel/\Theme
Process default right column
public processDelete() : bool/false/\ObjectModel
Process delete
public processExportTheme() : void
Process theme export
public processImportTheme() : bool
Process import theme
public processLeftMeta() : void
Process left meta
public processResponsive() : false/\ObjectModel/\Theme
Process responsive
public processRightMeta() : void
Process right meta
public processThemeInstall() : void
Process theme install
public processUpdate() : bool
Process update
public renderChooseThemeModule() : string
Render choose theme modules
public renderExportTheme() : string
Render theme export
public renderForm() : string
Render form
public renderImportTheme() : string
Render theme import
public renderList() : false/string
Render list
public renderOptions() : string
Function used to render the options for this controller
public renderView() : string
Render view
public setMedia() : void
Set media
public updateOptionPsFavicon() : void
Update PS_FAVICON
public updateOptionPsFavicon_114() : void
Update PS_FAVICON_114
public updateOptionPsFavicon_144() : void
Update PS_FAVICON_144
public updateOptionPsFavicon_57() : void
Update PS_FAVICON_57
public updateOptionPsFavicon_72() : void
Update PS_FAVICON_72
public updateOptionPsLogo() : void
Update PS_LOGO
public updateOptionPsLogoInvoice() : void
Update PS_LOGO_INVOICE
public updateOptionPsLogoMail() : void
Update PS_LOGO_MAIL
public updateOptionPsStoresIcon() : void
Update PS_STORES_ICON
public updateOptionThemeForShop() : void
Update theme for current shop
protected _checkConfigForFeatures(array $arrFeatures, array/mixed $configItem=array()) : bool Error message, or null if disabled
_checkConfigForFeatures
protected _isThemeCompatible(string $themeDir) : bool Validity is ok or not
This function checks if the theme designer has thunk to make his theme compatible 1.4, and noticed it on the $theme_dir/config.xml file. If not, some new functionnalities has to be desactivated
protected archiveThisFile(\ZipArchive $obj, string $file, string $serverPath, string $archivePath) : void
protected checkDocumentation() : bool
Check documentation
protected checkNames() : bool
Check names
protected checkParentClass(mixed $name) : bool
Check parent class
protected checkPostedDatas() : bool
Check posted data
protected checkVersionsAndCompatibility() : bool
Check versions and compatibility
protected checkXmlFields(string $xmlFile) : bool
Check XML fields
protected static copyTheme(string $baseThemeDir, string $targetThemeDir) : bool true if success
copy $base_theme_dir into $target_theme_dir.
protected extractTheme(mixed $themeZipFile, mixed $sandbox) : bool
Extract theme
protected formatHelperArray(array $originArr) : array
Format helper array
protected formatHelperValuesArray(array $originArr) : array
Format helper values array
protected generateArchive() : void
Generate archive
protected generateXML(mixed $themeToExport, mixed $metas) : void
Generate XML
protected getModules(mixed $xml) : array
Get modules
protected getNativeModule(int $type) : array
$type = 0 both native & partner (default) $type = 1 native $type = 2 partner
protected hookModule(int $idModule, array $moduleHooks, int $shop) : void
Hook module
protected importThemeXmlConfig(\SimpleXMLElement $xml, bool $themeDir=false) : array/string return array of themes on success, otherwise the error as a string is returned
protected installTheme(string $themeDir, bool $sandbox=false, bool $redirect=true) : bool
Install theme
protected isThemeInstalled(string $themeName) : bool
Check if theme is installed
protected processUpdateOptions() : void
Process update options
protected recurseCopy(string $src, string $dst) : void
Recursive copy
protected renderExportTheme1() : string
Render export theme 1
protected updateImages(\SimpleXMLElement $xml) : array
Update images
protected updateLogo(string $fieldName, string $logoPrefix) : bool
Generic function which allows logo upload
protected uploadIco(string $name, string $dest) : bool
Upload ICO

This class extends \AdminController


Class: AdminInformationControllerCore

Class AdminInformationControllerCore

Visibility Function
public __construct() : void
AdminInformationControllerCore constructor.
public displayAjaxCheckFiles() : void
public generateMd5List() : array md5 list
public getListOfUpdatedFiles(array $md5List, string/null $basePath=null) : mixed
public getTestResult() : array of test results
get all tests
public initContent() : void
public initPageHeaderToolbar() : void
public initToolbarTitle() : void
public renderView() : string

This class extends \AdminController


Class: AdminCategoriesControllerCore

Class AdminCategoriesControllerCore

Visibility Function
public __construct() : void
AdminCategoriesControllerCore constructor.
public ajaxProcessStatusCategory() : void
public ajaxProcessUpdatePositions() : void
public static getDescriptionClean(mixed $description) : string
public getList(int $idLang, null $orderBy=null, null $orderWay=null, int $start, null $limit=null, bool $idLangShop=false) : mixed
public init() : void
public initContent() : void
public initPageHeaderToolbar() : void
public initProcess() : void
public initToolbar() : void
public postProcess() : bool
public processAdd() : false/\ObjectModel
public processDelete() : bool
public processFatherlessProducts(int $idParent) : void
public processForceDeleteImage() : void
public processForceDeleteThumb() : bool
public processPosition() : void
public renderForm() : string/void
public renderKpis() : mixed
public renderList() : false/string
public renderView() : false/string
public setMedia() : void
protected postImage(int $id) : bool
protected processBulkDelete() : bool
protected setDeleteMode() : void

This class extends \AdminController


Class: AdminTrackingControllerCore

Class AdminTrackingControllerCore

Visibility Function
public clearListOptions() : void
public displayDeleteLink(string/null $token=null, int $id, string/null $name=null) : string
public displayEditLink(null $token=null, mixed $id, null $name=null) : string
public displayEnableLink(string $token, int $id, mixed $value, mixed $active, null $idCategory=null, null $idProduct=null) : string
public getCustomListCategoriesEmpty() : bool/false/string
public getCustomListProductsAttributesNoStock() : string
public getCustomListProductsDisabled() : string
public getCustomListProductsNoStock() : string
public static getDescriptionClean(string $description) : string
public getList(int $idLang, string/null $orderBy=null, string/null $orderWay=null, int $start, int/null $limit=null, bool/int/bool $idLangShop=false) : void
public initContent() : void
Initialize content
public postprocess() : bool
Post processing
public renderList() : bool/string
protected clearFilters() : void

This class extends \AdminController


Class: AdminImagesControllerCore

Class AdminImagesControllerCore

Visibility Function
public __construct() : void
AdminImagesControllerCore constructor.
public initContent() : void
Initialize content
public initMoveImages() : void
Init display for move images block
public initPageHeaderToolbar() : void
Initialize page header toolbar
public initRegenerate() : void
Init display for the thumbnails regeneration block
public postProcess() : bool
Post processing
public static printEntityActiveIcon(mixed $value, mixed $object) : string
Print Entity Active icon
protected _childValidation() : void
Child validation
protected _deleteOldImages(string $dir, array $type, bool $product=false) : bool
Delete resized image then regenerate new one with updated settings
protected _moveImagesToNewFileSystem() : bool
Move product images to the new filesystem
protected _regenerateNewImages(mixed $dir, mixed $type, bool $productsImages=false) : bool/string
Regenerate images
protected _regenerateNoPictureImages(mixed $dir, mixed $type, mixed $languages) : bool
Regenerate no-pictures images
protected _regenerateThumbnails(string $type='all', bool $deleteOldImages=false) : bool
Regenerate thumbnails
protected _regenerateWatermark(string $dir, null $type=null) : string
Regenerate watermark

This class extends \AdminController


Class: AdminStoresControllerCore

Class AdminStoresControllerCore

Visibility Function
public __construct() : void
AdminStoresControllerCore constructor.
public beforeUpdateOptions() : void
Before updating options
public initPageHeaderToolbar() : void
Initialize page header toolbar
public initToolbar() : void
Initialize toolbar
public postProcess() : void
Post processing
public renderForm() : string
Render form
public renderList() : string
Render list
public renderOptions() : string
Render options
public updateOptionPsShopCountryId(mixed $value) : void
public updateOptionPsShopStateId(mixed $value) : void
protected _buildOrderedFieldsShop(mixed $formFields) : void
protected _getDefaultFieldsContent() : array
protected postImage(int $id) : bool

This class extends \AdminController


Class: AdminWebserviceControllerCore

Class AdminWebserviceControllerCore

Visibility Function
public __construct() : void
AdminWebserviceControllerCore constructor.
public checkForWarning() : void
public initContent() : void
Initialize content
public initPageHeaderToolbar() : void
Initialize page header toolbar
public initProcess() : void
Initialize processing
public postProcess() : bool
Post processing
public renderForm() : string
public renderOptions() : string
Function used to render the options for this controller
protected afterAdd(\ObjectModel $object) : void
protected afterUpdate(\ObjectModel $object) : void
protected processUpdateOptions() : void
Process update options

This class extends \AdminController


Class: AdminOrdersControllerCore

Class AdminOrdersControllerCore

Visibility Function
public __construct() : void
AdminOrdersControllerCore constructor.
public ajaxProcessAddProductOnOrder() : void
Ajax process add product on order
public ajaxProcessChangePaymentMethod() : void
Ajax process change payment method
public ajaxProcessDeleteProductLine() : void
Ajax proces delete product line
public ajaxProcessEditProductOnOrder() : void
Ajax process edit product on order
public ajaxProcessLoadProductInformation() : void
Ajax proces load product information
public ajaxProcessSearchProducts() : void
Ajax process search products
public ajaxProcessSendMailValidateOrder() : void
Ajax process send mail validate order
public initPageHeaderToolbar() : void
Initialize page header toolbar
public initToolbar() : void
Initialize toolbar
public postProcess() : void
Post processing
public printNewCustomer(int $idOrder, array $tr) : string
Print new customer
public printPDFIcons(int $idOrder, array $tr) : string
Print PDF icons
public processBulkUpdateOrderStatus() : void
Bulk process update order statuses
public renderForm() : bool
Render form
public renderKpis() : mixed
Render KPIs
public renderList() : false/string
Render list
public renderView() : string
Render view
public sendChangedNotification(\Order/null/\Order $order=null) : void
Send changed notification
public setMedia() : void
Set Media
public static setOrderCurrency(mixed $echo, mixed $tr) : string
Set Order currency
protected applyDiscountOnInvoice(\OrderInvoice $orderInvoice, float $valueTaxIncl, float $valueTaxExcl) : bool Indicates whether the invoice was successfully updated
Apply discount on invoice
protected doDeleteProductLineValidation(\OrderDetail $orderDetail, \Order $order) : void
Delete product line validation
protected doEditProductValidation(\OrderDetail $orderDetail, \Order $order, \OrderInvoice/null/\OrderInvoice $orderInvoice=null) : void
Edit production validation
protected getProducts(\Order $order) : array
protected reinjectQuantity(\OrderDetail $orderDetail, int $qtyCancelProduct, bool $delete=false) : void

This class extends \AdminController


Class: AdminLoginControllerCore

Class AdminLoginControllerCore

Visibility Function
public __construct() : void
AdminLoginControllerCore constructor.
public checkToken() : bool
Check token Always true to make this page publicly accessible
public initContent() : void
Initialize content
public postProcess() : void
Post processing
public processForgot() : void
Process password forgotten
public processLogin() : void
Process login
public setMedia() : void
Set media
public viewAccess(bool $disable=false) : bool
All BO users can access the login page Always returns true to make this page publicly accessible

This class extends \AdminController


Class: AdminSupplyOrdersControllerCore

Class AdminSupplyOrdersControllerCore

Visibility Function
public __construct() : void
AdminSupplyOrdersControllerCore constructor.
public ajaxProcessSearchProduct() : void
method call when ajax request is made for search product to add to the order
public beforeAdd(\SupplyOrder $object) : true
Overrides AdminController::beforeAdd()
public displayChangestateLink(string $token=null, int $id) : string
Display receipt action link
public displayCreateSupplyOrderLink(string $token=null, int $id) : string
Display state action link
public displayUpdateReceiptLink(string $token=null, int $id) : string
Display state action link
public getList(int $idLang, string/null $orderBy=null, string/null $orderWay=null, int $start, int/null $limit=null, bool/int/bool $idLangShop=false) : mixed
AdminController::getList() override
public init() : void
AdminController::init() override
public initChangeStateContent() : void
Init the content of change state action
public initContent() : void
AdminController::initContent() override
public initPageHeaderToolbar() : void
public initProcess() : bool
Initialize processing
public initToolbar() : void
Assigns default actions in toolbar_btn smarty var, if they are not set. uses override to specifically add, modify or remove items
public initUpdateReceiptContent() : void
Inits the content of 'update_receipt' action Called in initContent()
public initUpdateSupplyOrderContent() : void
Init the content of change state action
public manageOrderProducts() : void
Ths method manage associated products to the order when updating it
public postProcess() : void
AdminController::postProcess() override
public printExportIcons(int $idSupplyOrder, string $tr) : string
Callback used to display custom content for a given field
public renderDetails() : false/string
Render details
public renderForm() : void
AdminController::renderForm() override
public renderList() : void
AdminController::renderList() override
public renderView() : string
protected afterAdd(\ObjectModel $object) : bool
Overrides AdminController::afterAdd()
protected getCurrentWarehouse() : int
Gets the current warehouse used
protected getFilterStatus() : int status
Gets the current filter used
protected loadProducts(int $threshold) : mixed
Loads products which quantity (hysical quantity) is equal or less than $threshold
protected postProcessCopyFromTemplate() : void
Helper function for AdminSupplyOrdersController::postProcess()
protected postProcessUpdateReceipt() : void
Helper function for AdminSupplyOrdersController::postProcess()
protected renderCSV() : void
Exports CSV

This class extends \AdminController


Class: AdminOrderPreferencesControllerCore

Class AdminOrderPreferencesControllerCore

Visibility Function
public __construct() : void
AdminOrderPreferencesControllerCore constructor.
public beforeUpdateOptions() : void
This method is called before we start to update options configuration

This class extends \AdminController


Class: AdminImportControllerCore

Class AdminImportControllerCore

Visibility Function
public __construct() : void
AdminImportControllerCore constructor.
public addressImport(bool/int/bool $offset=false, bool/int/bool $limit=false, bool $validateOnly=false) : bool/int
public ajaxProcessDeleteImportMatchs() : void
public ajaxProcessImport() : void
public ajaxProcessLoadImportMatchs() : void
public ajaxProcessSaveImportMatchs() : void
public ajaxProcessuploadCsv() : void
public aliasImport(bool $offset=false, bool $limit=false, bool $validateOnly=false) : bool/int
public attributeImport(bool $offset=false, bool $limit=false, bool $crossStepsVariables=false, bool $validateOnly=false) : int
public categoryImport(bool $offset=false, bool $limit=false, bool $crossStepsVariables=false, bool $validateOnly=false) : bool/int
public clearSmartyCache() : void
public customerImport(bool $offset=false, bool $limit=false, bool $validateOnly=false) : bool/int
public getAvailableFields(bool $inArray=false) : array/string
public static getMaskedRow(mixed $row) : array
public static getPath(string $file='') : string
public importByGroups(bool $offset=false, bool $limit=false, null $results=null, bool $validateOnly=false, int $moreStep) : void
public init() : void
public initContent() : void
public initModal() : void
public initToolbar() : void
public manufacturerImport(bool $offset=false, bool $limit=false, bool $validateOnly=false) : bool/int
public postProcess() : bool/null
public productImport(bool $offset=false, bool $limit=false, bool $crossStepsVariables=false, bool $validateOnly=false, int $moreStep) : int
public productImportCreateCat(mixed $defaultLanguageId, mixed $categoryName, null $idParentCategory=null) : void
public renderForm() : string
public renderView() : string
public static setLocale() : void
public setMedia() : void
public storeContactImport(bool $offset=false, bool $limit=false, bool $validateOnly=false) : bool
public storeContactImportOne(mixed $info, mixed $shopIsFeatureActive, mixed $regenerate, mixed $forceIds, bool $validateOnly=false) : void
public supplierImport(bool $offset=false, bool $limit=false, bool $validateOnly=false) : bool/int
public supplyOrdersDetailsImport(bool $offset=false, bool $limit=false, bool $crossStepsVariables=false, bool $validateOnly=false) : bool/int
public supplyOrdersImport(bool $offset=false, bool $limit=false, bool $validateOnly=false) : bool/int
public utf8EncodeArray(mixed $array) : array/string
protected addProductWarning(mixed $productName, null $productId=null, string $message='') : void
protected addressImportOne(mixed $info, mixed $forceIds, bool $validateOnly=false) : void
protected aliasImportOne(mixed $info, mixed $forceIds, bool $validateOnly=false) : void
protected attributeImportOne(mixed $info, mixed $defaultLanguage, mixed $groups, mixed $attributes, mixed $regenerate, mixed $shopIsFeatureActive, bool $validateOnly=false) : void
protected categoryImportOne(mixed $info, mixed $idDefaultLanguage, mixed $idLang, mixed $forceIds, mixed $regenerate, mixed $shopIsFeatureActive, mixed $catMoved, bool $validateOnly=false) : void
protected closeCsvFile(mixed $handle) : void
protected static copyImg(int $idEntity, int $idImage=null, string $url='', string $entity='products', bool $regenerate=true) : bool
copyImg copy an image located in $url and save it in a path according to $entity->$id_entity . $id_image is used if we need to add a watermark
protected static createMultiLangField(mixed $field) : array
protected customerImportOne(mixed $info, mixed $defaultLanguageId, mixed $idLang, mixed $shopIsFeatureActive, mixed $forceIds, bool $validateOnly=false) : void
protected excelToCsvFile(mixed $filename) : string
protected static fillInfo(mixed $infos, mixed $key, mixed $entity) : bool
protected generateContentTable(mixed $currentTable, mixed $nbColumn, mixed $handle, mixed $glue) : string
protected static getBoolean(mixed $field) : bool
protected getNbrColumn(mixed $handle, mixed $glue) : bool/int
protected static getPrice(mixed $field) : float
protected getTypeValuesOptions(mixed $nbC) : string
protected static get_best_path(mixed $tgtWidth, mixed $tgtHeight, mixed $pathInfos) : string
protected manufacturerImportOne(mixed $info, mixed $shopIsFeatureActive, mixed $regenerate, mixed $forceIds, bool $validateOnly=false) : void
protected openCsvFile(bool $offset=false) : bool/null/\resource
protected productImportAccessories(mixed $offset, mixed $limit, mixed $crossStepsVariables) : int
protected productImportOne(mixed $info, mixed $idDefaultLanguage, mixed $idLang, mixed $forceIds, mixed $regenerate, mixed $shopIsFeatureActive, mixed $shopIds, mixed $matchRef, mixed $accessories, bool $validateOnly=false) : void
protected receiveTab() : void
protected static rewindBomAware(mixed $handle) : bool
protected static setDefaultValues(mixed $info) : void
protected static setEntityDefaultValues(mixed $entity) : void
protected sortLabels(mixed $a, mixed $b) : int
protected static split(mixed $field) : array/string
protected supplierImportOne(mixed $info, mixed $shopIsFeatureActive, mixed $regenerate, mixed $forceIds, bool $validateOnly=false) : void
protected supplyOrdersDetailsImportOne(mixed $info, mixed $products, mixed $reset, mixed $forceIds, mixed $currentLine, bool $validateOnly=false) : void
protected supplyOrdersImportOne(mixed $info, mixed $forceIds, mixed $currentLine, bool $validateOnly=false) : void
protected truncateTables(mixed $case) : bool
protected static usortFiles(mixed $a, mixed $b) : int

This class extends \AdminController


Class: AdminWarehousesControllerCore

Class AdminWarehousesControllerCore

Visibility Function
public __construct() : void
AdminWarehousesControllerCore constructor.
public getList(int $idLang, string/null $orderBy=null, string/null $orderWay=null, int $start, int/null $limit=null, bool/int/bool $idLangShop=false) : void
AdminController::getList() override
public initContent() : bool
public initPageHeaderToolbar() : void
Initialize page header toolbar
public initProcess() : bool
public processAdd() : void
public processDelete() : bool/mixed
When submitting a warehouse deletion request, make an attempt to load a warehouse instance from an identifier, ensure the warehouse to be deleted, - does not contain any products, - nor it has some pending supply orders before actual deletion
public processUpdate() : bool
public renderForm() : string
AdminController::renderForm() override
public renderList() : string
AdminController::renderList() override
public renderView() : string
protected afterAdd(\Warehouse $object) : bool
Called once $object is set. Used to process the associations with address/shops/carriers
protected deleteWarehouse(\Warehouse $warehouse) : mixed
protected isAdvancedStockManagementActive() : bool
protected markAddressAsDeleted(\Address $address) : void
protected shouldForbidWarehouseDeletion(mixed $warehouse) : bool
protected updateAddress() : void
protected updateAssoShop(int $idObject) : void

This class extends \AdminController


Class: HistoryControllerCore

Class HistoryControllerCore

Visibility Function
public initContent() : void
Initialize content
public setMedia() : void
Set media

This class extends \FrontController


Class: OrderReturnControllerCore

Class OrderReturnControllerCore

Visibility Function
public displayAjax() : void
Process ajax call
public init() : void
Initialize order return controller
public initContent() : void
Assign template vars related to page content

This class extends \FrontController


Class: CategoryControllerCore

Class CategoryControllerCore

Visibility Function
public assignProductList() : void
Assigns product list template variables
public canonicalRedirection(string $canonicalUrl='') : bool
Redirects to canonical or "Not Found" URL
public getCategory() : \Category
Returns an instance of the current category
public init() : void
Initializes controller
public initContent() : void
Initializes page content variables
public setMedia() : void
Sets default media for this controller
protected assignScenes() : void
Assigns scenes template variables
protected assignSubcategories() : void
Assigns subcategory templates variables

This class extends \FrontController


Class: ChangeCurrencyControllerCore

Class ChangeCurrencyControllerCore

Visibility Function
public initContent() : void
Assign template vars related to page content

This class extends \FrontController


Class: ManufacturerControllerCore

Class ManufacturerControllerCore

Visibility Function
public canonicalRedirection(string $canonicalURL='') : bool
Canonical redirection
public getManufacturer() : \Manufacturer
Get instance of current manufacturer
public init() : void
Initialize this controller
public initContent() : void
Initialize content
public setMedia() : void
Set media
protected assignAll() : void
Assign template vars if displaying the manufacturer list
protected assignOne() : void
Assign template vars if displaying one manufacturer

This class extends \FrontController


Class: NewProductsControllerCore

Class NewProductsControllerCore

Visibility Function
public initContent() : void
Assign template vars related to page content
public setMedia() : void
Set media

This class extends \FrontController


Class: ParentOrderControllerCore

Class ParentOrderControllerCore

Visibility Function
public init() : void
Initialize parent order controller
public setMedia() : void
Set media
protected _assignAddress() : void
Assign address
protected _assignCarrier() : void
Assign carrier
protected _assignPayment() : void
Assign payment
protected _assignSummaryInformations() : void
Assign summary information
protected _assignWrappingAndTOS() : void
Assign wrapping and ToS
protected _checkFreeOrder() : bool
Check if order is free
protected _processCarrier() : bool
Process carrier
protected _setDefaultCarrierSelection(array $carriers) : number the id of the default carrier
DEPRECATED - since 1.5.0
protected _updateMessage(string $messageContent) : bool
protected setDefaultCarrierSelection(array $carriers) : number the id of the default carrier
DEPRECATED - since 1.5.0
protected setNoCarrier() : void
Set id_carrier to 0 (no shipping price)
protected validateDeliveryOption(array $deliveryOption) : bool
Validate get/post param delivery option

This class extends \FrontController


Class: StoresControllerCore

Class StoresControllerCore

Visibility Function
public getStores() : array/false/\mysqli_result/null/\PDOStatement/\resource
Get Stores
public init() : void
Initialize stores controller
public initContent() : void
Assign template vars related to page content
public renderStoreWorkingHours(mixed $store) : bool/string
Render opening hours
public setMedia() : void
Set media
protected assignStores() : void
Assign template vars for classical stores
protected assignStoresSimplified() : void
Assign template vars for simplified stores
protected displayAjax() : void
Display the Xml for showing the nodes in the google map
protected processStoreAddress(array $store) : string
Get formatted string address

This class extends \FrontController


Class: AttachmentControllerCore

Class AttachmentControllerCore

Visibility Function
public postProcess() : void
Post process

This class extends \FrontController


Class: PricesDropControllerCore

Class PricesDropControllerCore

Visibility Function
public initContent() : void
Assign template vars related to page content
public setMedia() : void
Set media

This class extends \FrontController


Class: PdfOrderSlipControllerCore

Class PdfOrderSlipControllerCore

Visibility Function
public display() : void
Display
public postProcess() : void
Post processing

This class extends \FrontController


Class: SearchControllerCore

Class SearchControllerCore

Visibility Function
public displayFooter(bool $display=true) : void
Display footer
public displayHeader(bool $display=true) : void
Display header
public init() : void
Initialize search controller
public initContent() : void
Assign template vars related to page content
public setMedia() : void
Set Media

This class extends \FrontController


Class: OrderOpcControllerCore

Class OrderOpcControllerCore

Visibility Function
public init() : void
Initialize order opc controller
public initContent() : void
Assign template vars related to page content
public setMedia() : void
Set media
protected _assignCarrier() : void
Assign carrier
protected _assignPayment() : void
Assign payment
protected _getCarrierList() : array
Get carrier list
protected _getGuestInformations() : array
Get Guest information
protected _getPaymentMethods() : array/string
Get payment methods
protected _processAddressFormat() : void
Process address format
protected getFormatedSummaryDetail() : mixed

This class extends \ParentOrderController


Class: PasswordControllerCore

Class PasswordControllerCore

Visibility Function
public initContent() : void
Assign template vars related to page content
public postProcess() : void
Start forms process

This class extends \FrontController


Class: AddressControllerCore

Class AddressControllerCore

Visibility Function
public displayAjax() : void
public init() : void
Initialize address controller
public initContent() : void
Assign template vars related to page content
public postProcess() : void
Start forms process
public setMedia() : void
Set default medias for this controller
protected assignAddressFormat() : void
Assign template vars related to address format
protected assignCountries() : void
Assign template vars related to countries display
protected assignVatNumber() : void
Assign template vars related to vat number
protected processSubmitAddress() : void
Process changes on an address

This class extends \FrontController


Class: OrderControllerCore

Class OrderControllerCore

Visibility Function
public autoStep() : void
Order process controller
public init() : void
Initialize order controller
public initContent() : void
Assign template vars related to page content
public postProcess() : void
Post processing
public processAddress() : void
Manage address
public setMedia() : void
Set media
protected _assignAddress() : void
Address step
protected _assignCarrier() : void
Carrier step
protected _assignPayment() : void
Payment step
protected processAddressFormat() : void
Process address format
protected processCarrier() : void
Carrier step

This class extends \ParentOrderController


Class: PdfOrderReturnControllerCore

Class PdfOrderReturnControllerCore

Visibility Function
public display() : void
Display
public postProcess() : void
Post processing

This class extends \FrontController


Class: BestSalesControllerCore

Class BestSalesControllerCore

Visibility Function
public initContent() : void
Initialize content
public setMedia() : void
Set media

This class extends \FrontController


Class: PageNotFoundControllerCore

Class PageNotFoundControllerCore

Visibility Function
public initContent() : void
Assign template vars related to page content
protected canonicalRedirection(string $canonicalUrl='') : bool
DEPRECATED - 1.0.1
protected sslRedirection() : void
DEPRECATED - 1.0.1

This class extends \FrontController


Class: IndexControllerCore

Class IndexControllerCore

Visibility Function
public initContent() : void
Initialize content

This class extends \FrontController


Class: AddressesControllerCore

Class AddressesControllerCore

Visibility Function
public init() : void
Initialize addresses controller
public initContent() : void
Assign template vars related to page content
public setMedia() : void
Set default medias for this controller

This class extends \FrontController


Class: DiscountControllerCore

Class DiscountControllerCore

Visibility Function
public initContent() : void
Initialize content

This class extends \FrontController


Class: GuestTrackingControllerCore

Class GuestTrackingControllerCore

Visibility Function
public init() : void
Initialize
public initContent() : void
Initialize content
public postProcess() : void
Start forms process
public setMedia() : void
Set media
protected assignOrderTracking(\PrestaShopCollection $orderCollection) : void
Assigns template vars related to order tracking information
protected processAddressFormat(\Address $delivery, \Address $invoice) : void

This class extends \FrontController


Class: AuthControllerCore

Class AuthControllerCore

Visibility Function
public displayAjax() : void
Run ajax process
public init() : void
Initialize auth controller
public initContent() : void
Assign template vars related to page content
public postProcess() : void
Start forms process
public setMedia() : void
Set default medias for this controller
protected assignAddressFormat() : void
Assign address var to smarty
protected assignCountries() : void
Assign countries var to smarty
protected assignDate() : void
Assign date var to smarty
protected processCustomerNewsletter(\Customer $customer) : void
Process the newsletter settings and set the customer infos.
protected processSubmitAccount() : void
Process submit on an account
protected processSubmitCreate() : void
Process submit on a creation
protected processSubmitLogin() : void
Process login
protected sendConfirmationMail(\Customer $customer) : bool
sendConfirmationMail
protected updateContext(\Customer $customer) : void
Update context after customer creation

This class extends \FrontController


Class: OrderFollowControllerCore

Class OrderFollowControllerCore

Visibility Function
public initContent() : void
Assign template vars related to page content
public postProcess() : void
Start forms process
public setMedia() : void
Set media

This class extends \FrontController


Class: SitemapControllerCore

Class SitemapControllerCore

Visibility Function
public initContent() : void
Assign template vars related to page content
public setMedia() : void
Set media

This class extends \FrontController


Class: GetFileControllerCore

Class GetFileControllerCore

Visibility Function
public init() : void
Initialize
protected displayCustomError(string $msg) : void
Display an error message with js and redirect using js function

This class extends \FrontController


Class: OrderConfirmationControllerCore

Class OrderConfirmationControllerCore

Visibility Function
public displayOrderConfirmation() : string/array/false
Execute the hook displayOrderConfirmation
public displayPaymentReturn() : string/array/false
Execute the hook displayPaymentReturn
public init() : void
Initialize order confirmation controller
public initContent() : void
Assign template vars related to page content

This class extends \FrontController


Class: IdentityControllerCore

Class IdentityControllerCore

Visibility Function
public init() : void
Initialize controller
public initContent() : void
Assign template vars related to page content
public postProcess() : \Customer
Start forms process
public setMedia() : void
Set media

This class extends \FrontController


Class: OrderDetailControllerCore

Class OrderDetailControllerCore

Visibility Function
public displayAjax() : void
Handle ajax call
public init() : void
Initialize order detail controller
public initContent() : void
Assign template vars related to page content
public postProcess() : void
Start forms process
public setMedia() : void
Set media

This class extends \FrontController


Class: CartControllerCore

Class CartControllerCore

Visibility Function
public canonicalRedirection(string $canonicalUrl='') : bool
This is not a public page, so the canonical redirection is disabled
public displayAjax() : void
Display ajax content (this function is called instead of classic display, in ajax mode)
public init() : void
Initialize cart controller
public initContent() : void
Initialize content
public postProcess() : void
Post process
protected processAllowSeperatedPackage() : void
Process allow separated package
protected processChangeProductAddressDelivery() : void
Process change product delivery address
protected processChangeProductInCart() : void
This process add or update a product in the cart
protected processDeleteProductInCart() : void
This process delete a product from the cart
protected processDuplicateProduct() : void
Process product duplication
protected processRemoveDiscounts() : void
DEPRECATED - 1.0.0

This class extends \FrontController


Class: OrderSlipControllerCore

Class OrderSlipControllerCore

Visibility Function
public initContent() : void
Assign template vars related to page content
public setMedia() : void
Set media

This class extends \FrontController


Class: StatisticsControllerCore

Class StatisticsControllerCore

Visibility Function
public postProcess() : void
Post processing
protected processNavigationStats() : void
Log statistics on navigation (resolution, plugins, etc.)
protected processPageTime() : void
Log statistics on time spend on pages

This class extends \FrontController


Class: CompareControllerCore

Class CompareControllerCore

Visibility Function
public displayAjax() : void
Display ajax content (this function is called instead of classic display, in ajax mode)
public initContent() : void
Assign template vars related to page content
public setMedia() : void
Set media

This class extends \FrontController


Class: CmsControllerCore

Class CmsControllerCore

Visibility Function
public canonicalRedirection(string $canonicalUrl='') : bool
Canonical redirection
public init() : void
Initialize CMS controller
public initContent() : void
Assign template vars related to page content
public setMedia() : void

This class extends \FrontController


Class: SupplierControllerCore

Class SupplierControllerCore

Visibility Function
public canonicalRedirection(string $canonicalURL='') : bool
Canonical redirection
public getSupplier() : \Supplier
Get instance of current supplier
public init() : void
Initialize supplier controller
public initContent() : void
Assign template vars related to page content
public setMedia() : void
Set media
protected assignAll() : void
Assign template vars if displaying the supplier list
protected assignOne() : void
Assign template vars if displaying one supplier

This class extends \FrontController


Class: PdfInvoiceControllerCore

Class PdfInvoiceControllerCore

Visibility Function
public display() : void
Display
public postProcess() : void
Post processing

This class extends \FrontController


Class: ContactControllerCore

Class ContactControllerCore

Visibility Function
public initContent() : void
Assign template vars related to page content
public postProcess() : void
Start forms process
public setMedia() : void
Set media
protected assignOrderList() : void
Assign template vars related to order list and product list ordered by the customer
protected getOrder() : int Order ID
Get Order ID

This class extends \FrontController


Class: MyAccountControllerCore

Class MyAccountControllerCore

Visibility Function
public initContent() : void
Assign template vars related to page content
public setMedia() : void
Set media

This class extends \FrontController


Class: ProductControllerCore

Class ProductControllerCore

Visibility Function
public canonicalRedirection(string $canonicalUrl='') : void
Canonical redirection
public getCategory() : \Category
Get Category
public getProduct() : \Product
Get Product
public init() : void
Initialize product controller
public initContent() : void
Assign template vars related to page content
public setMedia() : void
Set media
protected assignAttributesCombinations() : void
Get and assign attributes combinations informations
protected assignAttributesGroups() : void
Assign template vars related to attribute groups and colors
protected assignCategory() : void
Assign template vars related to category
protected assignImages() : void
Assign template vars related to images
protected assignPriceAndTax() : void
Assign price and tax to the template
protected formTargetFormat() : void
From target format
protected formatQuantityDiscounts(array $specificPrices, float $price, float $taxRate, float $ecotax_amount) : mixed
Format quantity discounts
protected pictureUpload() : bool
Picture upload
protected textRecord() : bool
Text record
protected transformDescriptionWithImg(string $desc) : string
Transform description w/ image

This class extends \FrontController

Tags: