Method | Description | |
---|---|---|
addonsHook ( string $addonsName, string $name, array $param = [], boolean $admin = false ) | 单个调用钩子 | |
adminPage ( string $page, array $param = null ) : string | 用于生成插件后台管理页面的URL | |
adminUrl ( string $page, array $param = null ) : [type] | [adminUrl description] | |
createAddonShow ( mixed $name, mixed $hooks, mixed $param = null ) | createAddonShow 为插件的展示页快速创建一个链接 | |
createAddonUrl ( [type] $name, [type] $hooks, [type] $param = null ) : [type] | [createAddonUrl description] | |
getValidHooks ( ) : array | 获取有效的插件列表 | |
hook ( string $name, array $param = [] ) | 调用插件Hook | |
loadAllValidAddons ( ) | 加载所有有效的插件 | |
requireHooks ( string $hookname, object $addon = null ) : boolean | 是否能请求钩子操作 |
public static createAddonUrl ( [type] $name, [type] $hooks, [type] $param = null ) : [type] | ||
$name | [type] | |
$hooks | [type] | |
$param | [type] | |
return | [type] |
public static getValidHooks ( ) : array | ||
return | array | 有效的插件列表 |