Toggle navigation
Hot Examples
RU
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Найти
Главная
ManaPHP
Mvc
ModelInterface
update
ManaPHP\Mvc\ModelInterface::update PHP Метод
Документация по интерфейсу ModelInterface
Показать файл
Открыть проект
update()
публичный
Метод
Updates a model instance. If the instance does n't exist in the persistence it will throw an exception Returning true on success or false otherwise.
public
update
(
array
$data
= null,
array
$whiteList
= null ) :
void
$data
array
$whiteList
array
Результат
void
public function update($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