- Class name: ModuleCore
- This is an abstract class
- Source: classes/module/Module.php line 27
- CACHE_FILE_ALL_COUNTRY_MODULES_LIST
- CACHE_FILE_CUSTOMER_MODULES_LIST
- CACHE_FILE_DEFAULT_COUNTRY_MODULES_LIST
- CACHE_FILE_MODULES_LIST
- CACHE_FILE_MUST_HAVE_MODULES_LIST
- CACHE_FILE_TAB_MODULES_LIST
- CACHE_FILE_TRUSTED_MODULES_LIST
- CACHE_FILE_UNTRUSTED_MODULES_LIST
- $_INSTANCE
- $_batch_mode
- $_confirmations
- $_defered_clearCache
- $_defered_func_call
- $_errors
- $_generate_config_xml_mode
- $_lang
- $_log_modules_perfs
- $_log_modules_perfs_session
- $_path
- $active
- $additional_description
- $allow_push
- $author
- $author_uri
- $avg_rate
- $badges
- $cache_permissions
- $classInModule
- $compatibility
- $context
- $controllers
- $current_subtemplate
- $database_version
- $dependencies
- $description
- $description_full
- $displayName
- $enable_device
- $hosted_modules_blacklist
- $id
- $identifier
- $l_cache
- $limited_countries
- $local_path
- $module_key
- $modules_cache
- $name
- $nb_rates
- $need_instance
- $ps_versions_compliancy
- $push_time_limit
- $registered_version
- $smarty
- $tab
- $table
- $trusted
- $update_translations_after_install
- $version
- $warning
- __construct
- _clearCache
- _deferedClearCache
- _generateConfigXml
- _getApplicableTemplateDir
- _isTemplateOverloaded
- _isTemplateOverloadedStatic
- addOverride
- adminDisplayInformation
- adminDisplayWarning
- checkCompliancy
- checkModuleFromAddonsApi
- cleanPositions
- configXmlStringFormat
- coreLoadModule
- disable
- disableByName
- disableDevice
- display
- displayConfirmation
- displayError
- displayFlags
- displayWarning
- editExceptions
- enable
- enableByName
- enableDevice
- findTranslation
- generateTrustedXml
- getAuthorizedModules
- getBatchMode
- getCacheId
- getConfirmations
- getCurrentSubTemplate
- getErrors
- getExceptions
- getExceptionsStatic
- getInstanceById
- getInstanceByName
- getLocalPath
- getModuleIdByName
- getModuleName
- getModuleNameFromClass
- getModulesDirOnDisk
- getModulesInstalled
- getModulesOnDisk
- getNativeModuleList
- getNonNativeModuleList
- getPathUri
- getPaymentModules
- getPaypalIgnore
- getPermission
- getPermissionStatic
- getPosition
- getPossibleHooksList
- getTemplatePath
- getUpgradeStatus
- hookExec
- hookExecPayment
- initUpgradeModule
- install
- installControllers
- installOverrides
- isCached
- isEnabled
- isEnabledForShopContext
- isHookableOn
- isInstalled
- isModuleTrusted
- isRegisteredInHook
- l
- loadUpgradeVersionList
- needUpgrade
- preCall
- processDeferedClearCache
- processDeferedFuncCall
- registerExceptions
- registerHook
- removeOverride
- resetCurrentSubTemplate
- runUpgradeModule
- setBatchMode
- setUpgradeMessage
- uninstall
- uninstallOverrides
- unregisterExceptions
- unregisterHook
- updateModuleTranslations
- updatePosition
- updateTranslationsAfterInstall
- upgradeModuleVersion
- useTooMuchMemory
const CACHE_FILE_ALL_COUNTRY_MODULES_LIST = '/config/xml/modules_native_addons.xml'
- Source: classes/module/Module.php line 171.
const CACHE_FILE_CUSTOMER_MODULES_LIST = '/config/xml/customer_modules_list.xml'
- Source: classes/module/Module.php line 174.
const CACHE_FILE_DEFAULT_COUNTRY_MODULES_LIST = '/config/xml/default_country_modules_list.xml'
- Source: classes/module/Module.php line 172.
const CACHE_FILE_MODULES_LIST = '/config/xml/modules_list.xml'
- Source: classes/module/Module.php line 167.
const CACHE_FILE_MUST_HAVE_MODULES_LIST = '/config/xml/must_have_modules_list.xml'
- Source: classes/module/Module.php line 176.
const CACHE_FILE_TAB_MODULES_LIST = '/config/xml/tab_modules_list.xml'
- Source: classes/module/Module.php line 169.
const CACHE_FILE_TRUSTED_MODULES_LIST = '/config/xml/trusted_modules_list.xml'
- Source: classes/module/Module.php line 178.
const CACHE_FILE_UNTRUSTED_MODULES_LIST = '/config/xml/untrusted_modules_list.xml'
- Source: classes/module/Module.php line 179.
protected array $_INSTANCE = array()
- Visibility: protected
- This property is static.
- Source: classes/module/Module.php line 131.
protected mixed $_batch_mode = false
- Visibility: protected
- This property is static.
- Source: classes/module/Module.php line 153.
protected array $_confirmations = array()
- Visibility: protected
- Source: classes/module/Module.php line 119.
protected mixed $_defered_clearCache = array()
- Visibility: protected
- This property is static.
- Source: classes/module/Module.php line 154.
protected mixed $_defered_func_call = array()
- Visibility: protected
- This property is static.
- Source: classes/module/Module.php line 155.
protected array $_errors = array()
- Visibility: protected
- Source: classes/module/Module.php line 116.
protected boolean $_generate_config_xml_mode = false
- Visibility: protected
- This property is static.
- Source: classes/module/Module.php line 134.
protected array $_lang = array()
- Visibility: protected
- Source: classes/module/Module.php line 105.
public boolean $_log_modules_perfs = null
- Visibility: public
- This property is static.
- Source: classes/module/Module.php line 163.
public boolean $_log_modules_perfs_session = null
- Visibility: public
- This property is static.
- Source: classes/module/Module.php line 165.
protected string $_path = null
- Visibility: protected
- Source: classes/module/Module.php line 108.
public boolean $active = false
- Visibility: public
- Source: classes/module/Module.php line 85.
public mixed $additional_description
- Visibility: public
- Source: classes/module/Module.php line 68.
public boolean $allow_push
- Visibility: public
- Source: classes/module/Module.php line 158.
public string $author
- Visibility: public
- Source: classes/module/Module.php line 58.
public string $author_uri = ''
- Visibility: public
- Source: classes/module/Module.php line 61.
public mixed $avg_rate
- Visibility: public
- Source: classes/module/Module.php line 74.
public mixed $badges
- Visibility: public
- Source: classes/module/Module.php line 76.
protected array $cache_permissions = array()
- Visibility: protected
- This property is static.
- Source: classes/module/Module.php line 140.
public array $classInModule = array()
- Visibility: public
- This property is static.
- Source: classes/module/Module.php line 102.
public mixed $compatibility
- Visibility: public
- Source: classes/module/Module.php line 70.
protected \Context $context
- Visibility: protected
- Source: classes/module/Module.php line 143.
public array $controllers = array()
- Visibility: public
- Source: classes/module/Module.php line 99.
protected \Smarty_Internal_Template $current_subtemplate = null
- Visibility: protected
- Source: classes/module/Module.php line 149.
public mixed $database_version
- Visibility: public
- Source: classes/module/Module.php line 34.
public array $dependencies = array()
- Visibility: public
- Source: classes/module/Module.php line 46.
public string $description
- Visibility: public
- Source: classes/module/Module.php line 55.
public mixed $description_full
- Visibility: public
- Source: classes/module/Module.php line 66.
public string $displayName
- Visibility: public
- Source: classes/module/Module.php line 52.
public mixed $enable_device = 7
- Visibility: public
- Source: classes/module/Module.php line 93.
public mixed $hosted_modules_blacklist = array('autoupgrade')
- Visibility: public
- This property is static.
- Source: classes/module/Module.php line 181.
public integer $id = null
- Visibility: public
- Source: classes/module/Module.php line 30.
protected string $identifier = 'id_module'
- Visibility: protected
- Source: classes/module/Module.php line 125.
protected array $l_cache = array()
- Visibility: protected
- This property is static.
- Source: classes/module/Module.php line 137.
public array $limited_countries = array()
- Visibility: public
- Source: classes/module/Module.php line 96.
protected string $local_path = null
- Visibility: protected
- Source: classes/module/Module.php line 113.
public string $module_key = ''
- Visibility: public
- Source: classes/module/Module.php line 64.
protected array $modules_cache
- Visibility: protected
- This property is static.
- Source: classes/module/Module.php line 128.
public string $name
- Visibility: public
- Source: classes/module/Module.php line 49.
public mixed $nb_rates
- Visibility: public
- Source: classes/module/Module.php line 72.
public integer $need_instance = 1
- Visibility: public
- Source: classes/module/Module.php line 79.
public array $ps_versions_compliancy = array()
- Visibility: public
- Source: classes/module/Module.php line 43.
public mixed $push_time_limit = 180
- Visibility: public
- Source: classes/module/Module.php line 160.
public string $registered_version
- Visibility: public
- Source: classes/module/Module.php line 40.
protected \Smarty_Data $smarty
- Visibility: protected
- Source: classes/module/Module.php line 146.
public string $tab = null
- Visibility: public
- Source: classes/module/Module.php line 82.
protected string $table = 'module'
- Visibility: protected
- Source: classes/module/Module.php line 122.
public boolean $trusted = false
- Visibility: public
- Source: classes/module/Module.php line 88.
protected mixed $update_translations_after_install = true
- Visibility: protected
- This property is static.
- Source: classes/module/Module.php line 151.
public float $version
- Visibility: public
- Source: classes/module/Module.php line 33.
public string $warning
- Visibility: public
- Source: classes/module/Module.php line 91.
mixed ModuleCore::__construct(string $name, \Context $context)
Constructor
- Visibility: public
- Source: classes/module/Module.php line 232
- $name string - Module unique name
- $context Context
mixed ModuleCore::_clearCache($template, $cache_id, $compile_id)
- Visibility: protected
- Source: classes/module/Module.php line 2398
- $template mixed
- $cache_id mixed
- $compile_id mixed
mixed ModuleCore::_deferedClearCache($template_path, $cache_id, $compile_id)
- Visibility: public
- This method is static.
- Source: classes/module/Module.php line 2443
- $template_path mixed
- $cache_id mixed
- $compile_id mixed
mixed ModuleCore::_generateConfigXml()
- Visibility: protected
- Source: classes/module/Module.php line 2452
mixed ModuleCore::_getApplicableTemplateDir($template)
- Visibility: protected
- Source: classes/module/Module.php line 2372
- $template mixed
mixed ModuleCore::_isTemplateOverloaded($template)
- Visibility: protected
- Source: classes/module/Module.php line 2261
- $template mixed
mixed ModuleCore::_isTemplateOverloadedStatic($module_name, $template)
- Visibility: protected
- This method is static.
- Source: classes/module/Module.php line 2243
- $module_name mixed
- $template mixed
boolean ModuleCore::addOverride(string $classname)
Add all methods in a module override to the override class
- Visibility: public
- Source: classes/module/Module.php line 2762
- $classname string
mixed ModuleCore::adminDisplayInformation(string $msg)
add a info message to display at the top of the admin page
- Visibility: protected
- Source: classes/module/Module.php line 2664
- $msg string
mixed ModuleCore::adminDisplayWarning(string $msg)
add a warning message to display at the top of the admin page
- Visibility: public
- Source: classes/module/Module.php line 2651
- $msg string
mixed ModuleCore::checkCompliancy()
- Visibility: public
- Source: classes/module/Module.php line 398
boolean ModuleCore::checkModuleFromAddonsApi($module_name)
Create the Addons API call from the module name only
- Visibility: public
- This method is static.
- Source: classes/module/Module.php line 1839
- $module_name mixed
mixed ModuleCore::cleanPositions($id_hook, $shop_list)
- Visibility: public
- Source: classes/module/Module.php line 2032
- $id_hook mixed
- $shop_list mixed
mixed ModuleCore::configXmlStringFormat($string)
- Visibility: public
- This method is static.
- Source: classes/module/Module.php line 1184
- $string mixed
mixed ModuleCore::coreLoadModule($module_name)
- Visibility: protected
- This method is static.
- Source: classes/module/Module.php line 1112
- $module_name mixed
mixed ModuleCore::disable(boolean $force_all)
Desactivate current module.
- Visibility: public
- Source: classes/module/Module.php line 802
- $force_all boolean - If true, disable module for all shop
true ModuleCore::disableByName(array|string $name)
This function disable module $name. If an $name is an array, this will disable all of them
- Visibility: public
- This method is static.
- Source: classes/module/Module.php line 781
- $name array|string
mixed ModuleCore::disableDevice($device)
- Visibility: public
- Source: classes/module/Module.php line 761
- $device mixed
mixed ModuleCore::display($file, $template, $cache_id, $compile_id)
- Visibility: public
- Source: classes/module/Module.php line 2290
- $file mixed
- $template mixed
- $cache_id mixed
- $compile_id mixed
mixed ModuleCore::displayConfirmation($string)
- Visibility: public
- Source: classes/module/Module.php line 2114
- $string mixed
string ModuleCore::displayError(string|array $error)
Helper displaying error message(s)
- Visibility: public
- Source: classes/module/Module.php line 2062
- $error string|array
mixed ModuleCore::displayFlags(array $languages, integer $default_language, string $ids, string $id, boolean $return, boolean $use_vars_instead_of_ids)
Display flags in forms for translations
- Visibility: public
- Source: classes/module/Module.php line 820
- $languages array - All languages available
- $default_language integer - Default language id
- $ids string - Multilingual div ids in form
- $id string - Current div id]
- $return boolean - define the return way : false for a display, true for a return
- $use_vars_instead_of_ids boolean - use an js vars instead of ids seperate by "¤"
string ModuleCore::displayWarning($warning)
Helper displaying warning message(s)
- Visibility: public
- Source: classes/module/Module.php line 2091
- $warning mixed
boolean ModuleCore::editExceptions($id_hook, array $excepts)
Edit exceptions for module->Hook
- Visibility: public
- Source: classes/module/Module.php line 1035
- $id_hook mixed
- $excepts array - List of shopID and file name
mixed ModuleCore::enable(boolean $force_all)
Activate current module.
- Visibility: public
- Source: classes/module/Module.php line 717
- $force_all boolean - If true, enable module for all shop
true ModuleCore::enableByName(array|string $name)
This function enable module $name. If an $name is an array, this will enable all of them
- Visibility: public
- This method is static.
- Source: classes/module/Module.php line 696
- $name array|string
mixed ModuleCore::enableDevice($device)
- Visibility: public
- Source: classes/module/Module.php line 749
- $device mixed
mixed ModuleCore::findTranslation($name, $string, $source)
- Visibility: public
- This method is static.
- Source: classes/module/Module.php line 1947
- $name mixed
- $string mixed
- $source mixed
mixed ModuleCore::generateTrustedXml()
Generate XML files for trusted and untrusted modules
- Visibility: public
- This method is static.
- Source: classes/module/Module.php line 1751
array|null ModuleCore::getAuthorizedModules(integer $group_id)
Get Unauthorized modules for a client group
- Visibility: public
- This method is static.
- Source: classes/module/Module.php line 2550
- $group_id integer
boolean ModuleCore::getBatchMode()
- Visibility: public
- This method is static.
- Source: classes/module/Module.php line 196
mixed ModuleCore::getCacheId($name)
- Visibility: protected
- Source: classes/module/Module.php line 2266
- $name mixed
array ModuleCore::getConfirmations()
Get module messages confirmation
- Visibility: public
- Source: classes/module/Module.php line 2592
\Smarty_Internal_Template ModuleCore::getCurrentSubTemplate(string $template, string|null $cache_id, string|null $compile_id)
- Visibility: protected
- Source: classes/module/Module.php line 2327
- $template string
- $cache_id string|null
- $compile_id string|null
array ModuleCore::getErrors()
Get module errors
- Visibility: public
- Source: classes/module/Module.php line 2581
mixed ModuleCore::getExceptions($id_hook, $dispatch)
- Visibility: public
- Source: classes/module/Module.php line 2187
- $id_hook mixed
- $dispatch mixed
mixed ModuleCore::getExceptionsStatic($id_module, $id_hook, $dispatch)
- Visibility: public
- This method is static.
- Source: classes/module/Module.php line 2133
- $id_module mixed
- $id_hook mixed
- $dispatch mixed
\Module ModuleCore::getInstanceById(integer $id_module)
Return an instance of the specified module
- Visibility: public
- This method is static.
- Source: classes/module/Module.php line 1163
- $id_module integer - Module ID
\Module ModuleCore::getInstanceByName(string $module_name)
Return an instance of the specified module
- Visibility: public
- This method is static.
- Source: classes/module/Module.php line 1094
- $module_name string - Module name
string ModuleCore::getLocalPath()
Get local path for module
- Visibility: public
- Source: classes/module/Module.php line 2603
integer ModuleCore::getModuleIdByName(string $name)
Get ID module by name
- Visibility: public
- This method is static.
- Source: classes/module/Module.php line 2564
- $name string
mixed ModuleCore::getModuleName($module)
- Visibility: public
- This method is static.
- Source: classes/module/Module.php line 1190
- $module mixed
boolean|string ModuleCore::getModuleNameFromClass(mixed $current_class)
This function is used to determine the module name of an AdminTab which belongs to a module, in order to keep translation related to a module in its directory (instead of $_LANGADM)
- Visibility: public
- This method is static.
- Source: classes/module/Module.php line 1056
- $current_class mixed - the
array ModuleCore::getModulesDirOnDisk()
Return modules directory list
- Visibility: public
- This method is static.
- Source: classes/module/Module.php line 1577
array ModuleCore::getModulesInstalled(integer $position)
Return installed modules
- Visibility: public
- This method is static.
- Source: classes/module/Module.php line 1664
- $position integer - Take only positionnables modules
array ModuleCore::getModulesOnDisk(boolean $use_config, $logged_on_addons, $id_employee)
Return available modules
- Visibility: public
- This method is static.
- Source: classes/module/Module.php line 1250
- $use_config boolean - in order to use config.xml file in module dir
- $logged_on_addons mixed
- $id_employee mixed
mixed ModuleCore::getNativeModuleList()
- Visibility: public
- This method is static.
- Source: classes/module/Module.php line 1629
array ModuleCore::getNonNativeModuleList()
Return non native module
- Visibility: public
- This method is static.
- Source: classes/module/Module.php line 1602
string ModuleCore::getPathUri()
Get uri path for module
- Visibility: public
- Source: classes/module/Module.php line 2614
array ModuleCore::getPaymentModules()
Returns the list of the payment module associated to the current customer
- Visibility: public
- This method is static.
- Source: classes/module/Module.php line 1901
mixed ModuleCore::getPaypalIgnore()
- Visibility: public
- This method is static.
- Source: classes/module/Module.php line 1890
boolean ModuleCore::getPermission(array $variable, object $employee)
Check employee permission for module
- Visibility: public
- Source: classes/module/Module.php line 2501
- $variable array - (action)
- $employee object
boolean ModuleCore::getPermissionStatic(integer $id_module, array $variable, object $employee)
Check employee permission for module (static method)
- Visibility: public
- This method is static.
- Source: classes/module/Module.php line 2513
- $id_module integer
- $variable array - (action)
- $employee object
mixed ModuleCore::getPosition($id_hook)
- Visibility: public
- Source: classes/module/Module.php line 2625
- $id_hook mixed
array ModuleCore::getPossibleHooksList()
Return the hooks list where this module can be hooked.
- Visibility: public
- Source: classes/module/Module.php line 3061
string ModuleCore::getTemplatePath(string $template)
Get realpath of a template of current module (check if template is overriden too)
- Visibility: public
- Source: classes/module/Module.php line 2352
- $template string
boolean ModuleCore::getUpgradeStatus($module_name)
Return the status of the upgraded module
- Visibility: public
- This method is static.
- Source: classes/module/Module.php line 627
- $module_name mixed
string ModuleCore::hookExec(string $hook_name, array $hook_args, $id_module)
Execute modules for specified hook
- Visibility: public
- This method is static.
- Source: classes/module/Module.php line 1865
- $hook_name string - Hook Name
- $hook_args array - Parameters for the functions
- $id_module mixed
string ModuleCore::hookExecPayment()
- Visibility: public
- This method is static.
- Source: classes/module/Module.php line 1876
boolean ModuleCore::initUpgradeModule($module)
Init the upgrade module
- Visibility: public
- This method is static.
- Source: classes/module/Module.php line 452
- $module mixed
mixed ModuleCore::install()
Insert module into datable
- Visibility: public
- Source: classes/module/Module.php line 306
boolean ModuleCore::installControllers()
Install module's controllers using public property $controllers
- Visibility: private
- Source: classes/module/Module.php line 2676
boolean ModuleCore::installOverrides()
Install overrides files for the module
- Visibility: public
- Source: classes/module/Module.php line 2717
mixed ModuleCore::isCached($template, $cache_id, $compile_id)
- Visibility: public
- Source: classes/module/Module.php line 2377
- $template mixed
- $cache_id mixed
- $compile_id mixed
mixed ModuleCore::isEnabled($module_name)
- Visibility: public
- This method is static.
- Source: classes/module/Module.php line 2213
- $module_name mixed
mixed ModuleCore::isEnabledForShopContext()
- Visibility: public
- Source: classes/module/Module.php line 2202
boolean ModuleCore::isHookableOn(string $hook_name)
Check if the module is transplantable on the hook in parameter
- Visibility: public
- Source: classes/module/Module.php line 2489
- $hook_name string
mixed ModuleCore::isInstalled($module_name)
- Visibility: public
- This method is static.
- Source: classes/module/Module.php line 2192
- $module_name mixed
integer ModuleCore::isModuleTrusted($module_name)
Return if the module is provided by addons.prestashop.com or not
- Visibility: public
- This method is static.
- Source: classes/module/Module.php line 1683
- $module_name mixed
mixed ModuleCore::isRegisteredInHook($hook)
- Visibility: public
- Source: classes/module/Module.php line 2227
- $hook mixed
string ModuleCore::l(string $string, boolean|string $specific)
Get translation for a given module text
Note: $specific parameter is mandatory for library files. Otherwise, translation key will not match for Module library when module is loaded with eval() Module::getModulesOnDisk()
- Visibility: public
- Source: classes/module/Module.php line 1963
- $string string - String to translate
- $specific boolean|string - filename to use in translation key
boolean ModuleCore::loadUpgradeVersionList($module_name, $module_version, $registered_version)
Load the available list of upgrade of a specified module with an associated version
- Visibility: protected
- This method is static.
- Source: classes/module/Module.php line 573
- $module_name mixed
- $module_version mixed
- $registered_version mixed
boolean ModuleCore::needUpgrade($module)
Check if a module need to be upgraded.
This method modify the module_cache adding an upgrade list file
- Visibility: public
- This method is static.
- Source: classes/module/Module.php line 550
- $module mixed
mixed ModuleCore::preCall($module_name)
- Visibility: public
- This method is static.
- Source: classes/module/Module.php line 1882
- $module_name mixed
mixed ModuleCore::processDeferedClearCache()
Clear the caches stored in $_defered_clearCache
- Visibility: public
- This method is static.
- Source: classes/module/Module.php line 215
mixed ModuleCore::processDeferedFuncCall()
- Visibility: public
- This method is static.
- Source: classes/module/Module.php line 201
boolean ModuleCore::registerExceptions(integer $id_hook, array $excepts, array $shop_list)
Add exceptions for module->Hook
- Visibility: public
- Source: classes/module/Module.php line 1000
- $id_hook integer - Hook id
- $excepts array - List of file name
- $shop_list array - List of shop
boolean ModuleCore::registerHook(string $hook_name, array $shop_list)
Connect module to a hook
- Visibility: public
- Source: classes/module/Module.php line 854
- $hook_name string - Hook name
- $shop_list array - List of shop linked to the hook (if null, link hook to all shops)
boolean ModuleCore::removeOverride(string $classname)
Remove all methods in a module override from the override class
- Visibility: public
- Source: classes/module/Module.php line 2911
- $classname string
mixed ModuleCore::resetCurrentSubTemplate($template, $cache_id, $compile_id)
- Visibility: protected
- Source: classes/module/Module.php line 2340
- $template mixed
- $cache_id mixed
- $compile_id mixed
array ModuleCore::runUpgradeModule()
Run the upgrade for a given module name and version
- Visibility: public
- Source: classes/module/Module.php line 481
mixed ModuleCore::setBatchMode(boolean $value)
Set the flag to indicate we are doing an import
- Visibility: public
- This method is static.
- Source: classes/module/Module.php line 188
- $value boolean
mixed ModuleCore::setUpgradeMessage($upgrade_detail)
Set errors, warning or success message of a module upgrade
- Visibility: protected
- Source: classes/module/Module.php line 422
- $upgrade_detail mixed
boolean ModuleCore::uninstall()
Delete module from datable
- Visibility: public
- Source: classes/module/Module.php line 638
boolean ModuleCore::uninstallOverrides()
Uninstall overrides files for the module
- Visibility: public
- Source: classes/module/Module.php line 2739
boolean ModuleCore::unregisterExceptions($hook_id, array $shop_list)
Unregister exceptions linked to module
- Visibility: public
- Source: classes/module/Module.php line 984
- $hook_id mixed
- $shop_list array - List of shop
boolean ModuleCore::unregisterHook($hook_id, array $shop_list)
Unregister module from hook
- Visibility: public
- Source: classes/module/Module.php line 947
- $hook_id mixed
- $shop_list array - List of shop
mixed ModuleCore::updateModuleTranslations()
- Visibility: public
- Source: classes/module/Module.php line 412
mixed ModuleCore::updatePosition($id_hook, $way, $position)
- Visibility: public
- Source: classes/module/Module.php line 1979
- $id_hook mixed
- $way mixed
- $position mixed
mixed ModuleCore::updateTranslationsAfterInstall($update)
- Visibility: public
- This method is static.
- Source: classes/module/Module.php line 407
- $update mixed
boolean ModuleCore::upgradeModuleVersion($name, $version)
Upgrade the registered version to a new one
- Visibility: public
- This method is static.
- Source: classes/module/Module.php line 535
- $name mixed
- $version mixed
mixed ModuleCore::useTooMuchMemory()
- Visibility: protected
- This method is static.
- Source: classes/module/Module.php line 1229