Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Sokil
Mongo
Structure
getErrors
Sokil\Mongo\Structure::getErrors PHP Method
Structure Class Documentation
Show file
Open project: sokil/php-mongo
getErrors()
public
method
Format: $errors['fieldName']['rule'] = 'message';
public
getErrors
( ) :
array
return
array
list of validation errors
public function getErrors() { return array_merge_recursive($this->errors, $this->triggeredErrors); }
Structure
__clone
__construct
__get
__isset
__set
addError
addErrors
addValidatorNamespace
append
apply
clearErrors
clearTriggeredErrors
get
getErrors
getModifiedFields
getObject
getObjectList
getOriginalData
getScenario
getValidatorClassNameByRuleName
has
hasErrors
isEmbeddedDocument
isModified
isScenario
isValid
jsonSerialize
merge
mergePartial
mergeUnmodified
mergeUnmodifiedPartial
prepareToStore
replace
reset
rules
set
setDataReference
setNoScenario
setScenario
toArray
triggerError
triggerErrors
unsetField