How to use PHP classes between other classes
This question already has an answer here:
Declare the function printStatus as static:
static function printStatus($text, $html = true)
You can call this function by using "::",
formatOutput::printStatus("hello");
链接地址: http://www.djcxy.com/p/14418.html
下一篇: 如何在其他类之间使用PHP类