PHP,静态方法,致命错误

  • PHP getter / setter方法 2015-03-16

    我想学习这个MVC OOP的thingie和我碰到一个奇怪的错误绊倒: Fatal error: Call to undefined method Foo::stuff() in ... 该代码我有: class Foo extends FooBase{ static $_instance; private $_stuff; public function getStuff($which = false){ if($which) return self::app()->_stuff[$which

    关键词: PHP,静态方法,致命错误

Copyright (C) 55228885.com, All Rights Reserved.

55228885 版权所有 京ICP备15002868号

processed in 3.893 (s). 10 q(s)