Magento Database
Magento Database Diagrams 1.0.x / 1.1.x / 1.2.x / 1.3.x sample database diagram The above image is only a low-resolution diagram example. Actual high resolution Magento database diagrams can be downloaded here. The Magento "EAV" Data Model A short note regarding Magento database design: For purposes of flexibility, the Magento database heavily utilizes an Entity-Attribute-Value (EAV) data model. As is often the case, the cost of flexibility is complexity - Magento is no exception. The proces......
Magento 核心类 Varien_Data_Collections 应用介绍
这节打算介绍一下Magento的Varien_Data_Collections,我从Alanstorm翻译过来的(部分翻译,读者也可以练一下英文能力) Varien Data Collections 这是什么东西?哈哈,你看完下面的文章,你就会知道它在Magento中的核心的作用了。 作为一个PHPer,如果想把一些一组相关的变量集合在一起有两个方法:Array 和自定义的数据结构,Varien_Object 就是后者。 首先介绍一下 Varien_Object 的使用方法: $thing_1 = new Varien_Object(); $thing_1->setName('Richard'); ......
在Magento System Configuration新增内容
Custom Magento System Configuration Magento之所以非常强大,一部分是由于它有非常强大的后台(Admin’s System Config section)配置能力。它允许开发者通过添加一些表单元素就可以配置Magento系统和用户新增的模块。 在我们刚开始在Magento中新增一些自定义的内容时,由于Magento自身原因(复杂但灵活),往往会望而生畏,但是当你着手去做的时候,你就会喜欢上它的灵活。 下面我们通过一个简单的例子来学习Magento System Configuration(system.xml). 例:新增一个module ......
Magento CMS 应用实例
下面是一些CMS的应用实例: e.1-magento 页面中加入CMS static block 在magento的模版中有些内容想通过后台来控制,那么你可以将这些html css js 放在CMS的static blocks中,然后用下面的代码来在前台输出 写到phtml文件里的的PHP代码如下: Php代码 <?php echo $this->getLayout()->createBlock('cms/block')->setBlockId('your_block_Identifier')->toHtml() ?> 其中setBlockId('your_block_Identifier')的参数your_block_Identifier......
广州市党组织关系接转
一、 转入组织关系可分为从省外和省内转入两类: 1、省外调入党员和省外院校毕业生党员须持原单位党组织或毕业院校党组织开出的组织关系介绍信(受函单位写中共广东省直属机关工作委员会组织处)到省直工 委转接关系(省直工委地址:广州市东风中路305号广东省人民政府大院5号楼313室)。省直工委开出介绍信(受函单位中共广东省人事厅直属机关委员 会),然后拿党员组织关系介绍信和人事代理合同书到广东省人才服务局党委办公室办理组织关系转入手续......
双系统重装WIN XP后Ubuntu进不去的解决方法
xp ubuntu 双系统 xp重装 mbr信息修复 2010年10月17日 星期日 11:53 重装xp后,mbr被xp写入信息导致grub无法工作解决方法 从CD-ROM启动,从Live CD启动进入桌面。 打开终端或者切换到一个tty(Ctrl+Alt+F1)。 输入:sudo grub 输入:find /boot/grub/stage1 ##有人说这一步不用,不过个人感觉还是应该加上这一步 输入:root (hd0,x) ##输入find命令反馈的数据 输入:setup ......
setSaveParametersInSession() on a non-object on cache page
Magento error:setSaveParametersInSession() on a non-object on cache page 查找日志,找出错误: exception: 2011-05-19T08:48:24+00:00 ERR (3): exception 'Mage_Core_Exception' with message 'Invalid block type: Bysoft_Storelocation_Block_Adminhtml_Storelocations' in D:\wamp\www\jflazartigue\1510\app\Mage.php:550 Stack trace: 2011-05-19T08:50:24+00:00 ERR (3): exception 'Mage_Core_Exception' with message 'Invalid block type: Bysoft_Storelocation_Block_Adminhtml_Storelocation_Grid' in D:\wamp\www\jflazartigue\1510\app\Mage.php:55......
Viewing the Registry Contents in Magento
The Magento registry is a globally accessible store of data that is used by all aspects of the Magento system. Recently a user asked me how to see the contents of the registry. After a little play I found a way to do this, however, be warned: to accomplish this you need to temporarily modify a core Magento file (Mage.php). Read on for more information Mage.php and the Mage class The main file of Magento is a file called Mage.php and is stored inside the app folder. This class contains a lot of useful functions which you will probably notice. Most of these functions are static which......
The Magento Registry
The Magento registry provides an easy way for objects to share information, without actually have to know about each other. In short, it is basically an array that can be accessed anywhere in Magento because it is a static function. If you’re not sure what a static function is, let me explain. Non-static functions, or dynamic functions cannot be called on an object that hasn’t been instantiated as they need an instance of the class to function. Static functions differ in that these can be called with the object being instantiated. To call a static function we use the format Cla......
- Page:55/146 1460 Blogs
周日 | 周一 | 周二 | 周三 | 周四 | 周五 | 周六 |
文章分类
- 默认(760)
- 日志(47)
- 感悟(15)
- testIT(4)
- PHP_XML(5)
- PHP(78)
- 明星(1)
- 笑话(31)
- 毕业论文(2)
- 生活(60)
- HTML(11)
- CSS(6)
- 考研(3)
- JS(21)
- 简历(6)
- svn(3)
- 音乐(1)
- 学习(7)
- jQuery(9)
- 英语口语(9)
- 书籍(2)
- magento(258)
- apache(12)
- 创意(4)
- 设计(4)
- 休闲(1)
- IT咨询(11)
- 工作(23)
- ubuntu(21)
- bysoft(1)
- zend(1)
- web(2)
- software(1)
- sql(5)
- 娱乐(5)
- photoshop(3)
- zend framework(2)
- nginx(3)
- 小说(1)
- 名言(1)
- 牛人(1)
- Mysql(6)
- vim(2)
- wordpress(8)
- drupal(1)