18. Magento 细节
来源:互联网 发布:网络小额信贷 编辑:程序博客网 时间:2024/06/09 18:12
1. Magento 配置文件加载严格按字母顺序,除了模块依赖关系
2. global 节点
main database settings,such as host,database name ,user name,password and some system values.connections types(read/write)database adaptercore module class names
3. default 节点
directory structure real folder names.system localedesign and theme configurationsystem options
4. frontend 节点
routerstranslations fileslayout xml filesobservers declarations
5. catalog 节点
specific to a certain module.
6. how to access to cinfiguration value
1.to get part of config: $store->getConfig($path);2.to get part of config: Mage::getStoreConfig($path[,$store]);3.to check store flag: Mage::getStoreConfigFlag($path[,$store]);4.to access by absolute path: Mage::getConfig()->getNode($path[,$scope]);
Mage::getModel(URI); // 按URI寻找配置标签,然后实例化
0 0
- 18. Magento 细节
- 28. magento使用细节
- magento 11个细节技巧
- Magento SUPEE 6788 技术细节
- magento -- magneto下的SEO细节
- Magento 邮件模板以及发送邮件细节
- Magento 2 日志的更多细节及数据库日志活动
- Magento
- magento
- 细节
- 细节
- 细节
- 细节
- 细节
- 细节
- 细节
- magento -- magento站点优化
- magento -- magento站点优化
- 【CCF】最大矩形
- react-native试玩(9)-地图视图
- Linux下几种文件传输命令 sz rz sftp scp
- 冷门但是却能很好提升性能的android技能
- 段内存
- 18. Magento 细节
- mysql 数据库操作语句备忘
- C++ STL/functional
- ng-model上面自带的方法
- yii2 - 1: composer 安装yii2 - 安装环境
- Eclipse 报java.lang.OutOfMemoryError: PermGen space错
- Win7 网络连不上 提示 依赖服务或组无法启动
- 用Bootstrap写一个简单的响应式布局
- 使用dbca添加new instance时报