在显示报告时执行,在输出发生之前
参数
变量 | 类型 | 注意 |
---|---|---|
report | string | |
moduleType | string | |
moduleName | string |
响应
不支持响应
示例代码
<?php
add_hook('ReportViewPreOutput', 1, function($vars) {
// Perform hook code here...
});
相关用法
- PHP WHMCS ReportViewPostOutput用法及代码示例
- PHP ReflectionClass getTraitAliases()用法及代码示例
- PHP ReflectionMethod isPrivate()用法及代码示例
- PHP ReflectionClass getTraits()用法及代码示例
- PHP ReflectionExtension isPersistent()用法及代码示例
- PHP ReflectionClass isUserDefined()用法及代码示例
- PHP ReflectionClass getProperty()用法及代码示例
- PHP ReflectionClass getProperties()用法及代码示例
- PHP ReflectionParameter __toString()用法及代码示例
- PHP ReflectionClass __toString()用法及代码示例
- PHP ReflectionMethod isStatic()用法及代码示例
- PHP ReflectionClass hasMethod()用法及代码示例
- PHP ReflectionClass isIterateable()用法及代码示例
- PHP ReflectionClass hasConstant()用法及代码示例
- PHP ReflectionProperty isPublic()用法及代码示例
- PHP ReflectionClass getTraitNames()用法及代码示例
- PHP Reflection getName()用法及代码示例
- PHP ReflectionClass export()用法及代码示例
- PHP ReflectionExtension getDependencies()用法及代码示例
- PHP ReflectionMethod invokeArgs()用法及代码示例
- PHP ReflectionGenerator getTrace()用法及代码示例
- PHP ReflectionExtension isTemporary()用法及代码示例
- PHP ReflectionProperty getDeclaringClass()用法及代码示例
- PHP ReflectionClass isTrait()用法及代码示例
- PHP ReflectionExtension info()用法及代码示例
注:本文由纯净天空筛选整理自whmcs.com大神的英文原创作品 ReportViewPreOutput。非经特殊声明,原始代码版权归原作者所有,本译文未经允许或授权,请勿转载或复制。