Toggle navigation
Hot Examples
JP
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
検索
Home
think
Model
validateFailException
think\Model::validateFailException PHP Method
Model Class Documentation
ファイルを表示
Open project: top-think/framework
validateFailException()
public
method
设置验证失败后是否抛出异常
public
validateFailException
(
boolean
$fail
= true )
$fail
boolean
是否抛出异常
public function validateFailException($fail = true) { $this->failException = $fail; return $this; }
Model
__call
__callStatic
__construct
__get
__isset
__set
__toString
__unset
__wakeup
all
allowField
append
auto
autoCompleteData
autoWriteTimestamp
belongsTo
belongsToMany
create
data
db
delete
destroy
eagerlyResult
eagerlyResultSet
event
get
getAttr
getData
getDb
getError
getPk
has
hasMany
hasManyThrough
hasOne
hasWhere
hidden
init
initialize
isPk
isUpdate
jsonSerialize
offsetExists
offsetGet
offsetSet
offsetUnset
parseModel
parseQuery
readTransform
relation
relationQuery
save
saveAll
scope
setAttr
toArray
toJson
trigger
update
useGlobalScope
validate
validateData
validateFailException
visible
writeTransform