Toggle navigation
Hot Examples
DE
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Suchen
Home
ManaPHP
Mvc
ModelInterface
hasChanged
ManaPHP\Mvc\ModelInterface::hasChanged PHP Method
ModelInterface Interface Documentation
Datei anzeigen
Open project: manaphp/manaphp
hasChanged()
public
method
Check if a specific attribute has changed This only works if the model is keeping data snapshots
public
hasChanged
(
string
|
array
$fields
) :
boolean
$fields
string
|
array
return
boolean
public function hasChanged($fields);
ModelInterface
assign
average
count
create
delete
deleteAll
exists
find
findAll
findFirst
getChangedFields
getReadConnection
getReadConnectionService
getSnapshotData
getSource
getWriteConnection
getWriteConnectionService
hasChanged
max
min
query
save
setConnectionService
setReadConnectionService
setWriteConnectionService
sum
toArray
update
updateAll