Home > Backend Development > PHP Tutorial > zencart里面一个notify函数有关问题

zencart里面一个notify函数有关问题

WBOY
Release: 2016-06-13 10:29:25
Original
861 people have browsed it

zencart里面一个notify函数问题
zencart里面一个notify函数问题

如果对zencart熟悉的,能说说这个函数有什么用吗?


------解决方案--------------------
这个时候你应该去查它的文档了。& 是引用
------解决方案--------------------
getStaticObserver返回一个引用, 你在外边也得继续引用才能保证不是拷贝一个返回引用的副本.

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template