Home > Backend Development > PHP Tutorial > thinkphp恒量调用

thinkphp恒量调用

WBOY
Release: 2016-06-13 12:37:30
Original
821 people have browsed it

thinkphp常量调用
在Action中如何调用model中的常量,比如systemAciton.class.php 中的方法想调用memberModel.class.php中的const DEFAULT_STATUS=1这个变量的值,能调用到么?求解!(希望是亲测成功再回答!谢谢!)

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