Skip to content

Latest commit

 

History

History
332 lines (155 loc) · 6.55 KB

class.LocalizationPackCore.md

File metadata and controls

332 lines (155 loc) · 6.55 KB

Class LocalizationPackCore

Contents

Properties

Methods

Properties

$_errors

protected mixed $_errors = array()

$iso_code_lang

protected mixed $iso_code_lang

$iso_currency

protected mixed $iso_currency

$name

public mixed $name

$version

public mixed $version

Methods

_installCurrencies

boolean LocalizationPackCore::_installCurrencies(\SimpleXMLElement $xml, boolean $install_mode)

Arguments

  • $xml SimpleXMLElement
  • $install_mode boolean

_installGroups

boolean LocalizationPackCore::_installGroups(\SimpleXMLElement $xml)

Arguments

  • $xml SimpleXMLElement

_installLanguages

boolean LocalizationPackCore::_installLanguages(\SimpleXMLElement $xml, boolean $install_mode)

Arguments

  • $xml SimpleXMLElement
  • $install_mode boolean

_installStates

boolean LocalizationPackCore::_installStates(\SimpleXMLElement $xml)

Arguments

  • $xml SimpleXMLElement

_installTaxes

boolean LocalizationPackCore::_installTaxes(\SimpleXMLElement $xml)

Arguments

  • $xml SimpleXMLElement

_installUnits

boolean LocalizationPackCore::_installUnits(\SimpleXMLElement $xml)

Arguments

  • $xml SimpleXMLElement

getErrors

mixed LocalizationPackCore::getErrors()

installConfiguration

boolean LocalizationPackCore::installConfiguration(\SimpleXMLElement $xml)

Update a configuration variable from a localization file

Arguments

  • $xml SimpleXMLElement

installModules

boolean LocalizationPackCore::installModules(\SimpleXMLElement $xml)

Install/Uninstall a module from a localization file <module name="module_name" [install="0|1"] />

Arguments

  • $xml SimpleXMLElement

loadLocalisationPack

mixed LocalizationPackCore::loadLocalisationPack($file, $selection, $install_mode, $iso_localization_pack)

Arguments

  • $file mixed
  • $selection mixed
  • $install_mode mixed
  • $iso_localization_pack mixed

updateDefaultGroupDisplayMethod

boolean LocalizationPackCore::updateDefaultGroupDisplayMethod(\SimpleXMLElement $xml)

Arguments

  • $xml SimpleXMLElement