|
Zhamao Framework
3.0.0-beta1
A high-performance chatbot + web framework
|
Public 成员函数 | |
| __construct (mixed $dir=null) | |
| withConfig (array $config) | |
| withArgs (array $args) | |
| run () | |
Public 成员函数 继承自 ZMPlugin | |
| __construct (string $dir) | |
| getDir () | |
| addBotEvent (BotEvent $event) | |
| addBotCommand (BotCommand $command) | |
| addEvent (string $event_name, callable $callback, int $level=20) | |
| addHttpRoute (Route $route) | |
| getBotEvents () | |
| getBotCommands () | |
| getEvents () | |
| getRoutes () | |
额外继承的成员函数 | |
Protected 属性 继承自 ZMPlugin | |
| string | $dir |
| array | $bot_events = [] |
| array | $bot_commands = [] |
| array | $events = [] |
| array | $routes = [] |
| __construct | ( | mixed | $dir = null | ) |
| run | ( | ) |
| withArgs | ( | array | $args | ) |
| withConfig | ( | array | $config | ) |