\App\HelperFormHelper

Class FormHelper

Summary

Methods
Properties
Constants
init()
dataFilter()
validate()
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

init()

init(object|\Illuminate\Database\Eloquent\Model  $dbQuery,   $class = array(), string  $field = '', array  $where = array(), array  $data = array()) : array|boolean|mixed|void

2021/4/1--2:38 下午

Parameters

object|\Illuminate\Database\Eloquent\Model $dbQuery
$class
string $field

指定数据主键

array $where

额外更新条件

array $data

表单扩展数据

Returns

array|boolean|mixed|void

dataFilter()

dataFilter(  $filter,   $data) 

2021/4/20--7:26 下午

Parameters

$filter
$data

validate()

validate(  $validate,   $message,   $data,   $query) 

2021/4/14--11:33 上午

Parameters

$validate
$message
$data
$query