magento中查看某一段代码生成的sql

查看一段代码运行期间执行的sql语句 便于查看sql性能 ...

2016-10-27 · 69 字 · 约 1 分钟

[译]给用户grid表增加新的column

来源:http://magento.stackexchange.com/questions/5973/adding-columns-to-customer-grid-using-observer-or-overriding-the-customer-grid ...

2016-08-29 · 109 字 · 约 1 分钟

使用atom进行php开发

特点 atom一个字形容:酷,搭配active-power-mode的爆炸效果码字效果爽的不行; github打造,完美支持git 插件支持及其丰富,但最好别装太多 截止16.7.12还存在以下问题: 目前atom运行php项目时方法跳转不方便,没有sublime好用 安装太多的插件后会卡,且无法在插件列表页加载出所有的插件 更新:2017年7月21日 又重装了一次,整理了下文章 ...

2016-08-03 · 387 字 · 约 2 分钟

PHPer学习JS 语法

学习廖雪峰老师的javaScript教程笔记。 重点关注js与PHP的异同点 ...

2016-07-22 · 78 字 · 约 1 分钟

sublime搭建js编译环境及自动根据文件后缀选择对应的编译环境

开始学习js,先在sublime上搭建js的编译环境 ...

2016-07-21 · 53 字 · 约 1 分钟

magento报错:Customer website ID must be specified when using the website scope

根据邮件用户名获取顾客对象时,可以用Customer模块自带的loadByEmail方法。 public function loadByEmail($customerEmail) { $this->_getResource()->loadByEmail($this, $customerEmail); return $this; } ...

2016-07-21 · 186 字 · 约 1 分钟

php浮点数取整

ceil() 向上取整 floor() 向下取整 round() 四舍五入取整 ...

2016-07-20 · 56 字 · 约 1 分钟

magento设置后台配置的默认值

在《magento新建模块的后台配置》 中设置了系统的后台配置选项后,可以在config.xml中设置后台配置的默认值 ...

2016-07-20 · 130 字 · 约 1 分钟

XML报错:XML declaration allowed only at the start of the document

错误信息: Warning: simplexml_load_string(): Entity: line 1: parser error : XML declaration allowed only at the start of the document ...

2016-07-20 · 107 字 · 约 1 分钟

magento计划任务

设置计划任务,定时运行脚本。 ...

2016-07-19 · 36 字 · 约 1 分钟