\FireGento_MageSetup_Model_Setup_Systemconfig
Setup class for Tax Settings
- Author: FireGento Team <team@firegento.com>
- Copyright: 2013 FireGento Team (http://www.firegento.com)
- License: http://opensource.org/licenses/gpl-3.0 GNU General Public License, version 3 (GPLv3)
Members
Constructor
Methods
-
publicgetConfigData( )
- Get config.xml data
- Config data
-
publicgetCountryId( )
- Get setup country ID
-
publicgetTemplateContent( string $filename )
- Get template content
$filename
- Template file name- Template content
-
publicsetConfigData( string $configPath, string $value, int|null $storeId )
- Saves a system config value for the given config path and the given store id
$configPath
- Config Path$value
- Value$storeId
- Store ID-
publicsetup( )
- Setup Tax setting
-
protected_getConfigNode( string $node, string|null $childNode )
- Get config.xml data
$node
- xml node$childNode
- if set, child node of the first node- Config Node
-
protected_getConfigSystemConfig( )
- Get tax calculations from config file
- Config System Config
-
protected_getConnection( )
- Retrieve the database connection
- Database connection
-
protected_getSetup( )
- Retrieve the Magento setup model class
- Setup Model
-
protected_loadExistingModel( Mage_Core_Model_Abstract $model, string $attributeCode, string $value )
- Load a model by attribute code
$model
- Collection$attributeCode
- Attribute code$value
- Value-
protected_updateConfigData( )
- Update configuration settings