Name: liip-magento-shared
Owner: Liip
Description: Liip Magento Shared
Created: 2012-11-15 19:16:48.0
Updated: 2015-10-07 19:19:41.0
Pushed: 2015-08-19 07:54:10.0
Homepage: null
Size: 305
Language: PHP
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
A Magento module containing recurring methods we have been using in most projects.
reference
field to attribute options for improved linking of imported valuesAdd repository to composer.json
{
"repositories": [
{
"type": "composer",
"url": "http://packages.firegento.com"
}
],
"require": {
"liip/liip-magento-shared": "1.*",
},
"extra":{
"magento-root-dir": "./"
}
}
Install package through composer
$ ./composer.phar install
The module renames its Magento namespace as liip
. Therefore, you access models and helpers
as Mage::getModel('liip/connection_curl')
or Mage::helper('liip')
.
In your module's config.xml
, specify the new setup class
<global>
<resources>
<mymodule_setup>
<setup>
<module>Liip_Shared</module>
<class>Liip_Shared_Model_Resource_Setup</class>
</setup>
</mymodule_setup>
</resources>
</global>