Home  >  Article  >  Backend Development  >  phpcms中怎么实例化呢

phpcms中怎么实例化呢

WBOY
WBOYOriginal
2016-06-13 12:13:26749browse

phpcms中如何实例化呢
想调用类中的一个方法
俺也知道开始要实例化类,
但怎么写呢
------解决思路----------------------
模型类:pc_base::load_model()
系统类库:pc_base::load_sys_class()
模块类库:pc_base::load_app_class()

<br />#file: phpcms/base.php<br />#line: 110<br />private static function _load_class($classname, $path = '', $initialize = 1) {}<br />

Statement:
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