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
ManaPHP
Mvc
ModelInterface
save
ManaPHP\Mvc\ModelInterface::save PHP Method
ModelInterface Interface Documentation
Show file
Open project: manaphp/manaphp
save()
public
method
Inserts or updates a model instance. Returning true on success or false otherwise.
public
save
(
array
$data
= null,
array
$whiteList
= null ) :
void
$data
array
$whiteList
array
return
void
public function save($data = null, $whiteList = null);
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