Method | Description | |
---|---|---|
add ( string $tag, mixed $behavior, boolean $first = false ) : void | 动态添加行为扩展到某个标签 | |
exec ( mixed $class, string $tag = '', Mixed &$params = null, mixed $extra = null ) : mixed | 执行某个行为 | |
get ( string $tag = '' ) : array | 获取插件信息 | |
import ( array $tags, boolean $recursive = true ) | 批量导入插件 | |
listen ( string $tag, mixed &$params = null, mixed $extra = null, boolean $once = false ) : mixed | 监听标签的行为 |