\app\api\behaviorRequestFilter

Summary

Methods
Properties
Constants
run()
buildValidateRule()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

run()

run() 

默认行为函数

Throws

\think\Exception
\think\exception\DbException

buildValidateRule()

buildValidateRule(array  $rule = array()) : array

将数据库中的规则转换成TP_Validate使用的规则数组

Parameters

array $rule

Returns

array