Toggle navigation
Hot Examples
RU
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Найти
Главная
yii
db
ActiveRecordInterface
setAttribute
yii\db\ActiveRecordInterface::setAttribute PHP Метод
Документация по интерфейсу ActiveRecordInterface
Показать файл
Открыть проект
setAttribute()
публичный
Метод
Sets the named attribute value.
См. также:
hasAttribute()
public
setAttribute
(
string
$name
,
mixed
$value
)
$name
string
the attribute name.
$value
mixed
the attribute value.
public function setAttribute($name, $value);
ActiveRecordInterface
attributes
delete
deleteAll
equals
find
findAll
findOne
getAttribute
getDb
getIsNewRecord
getOldPrimaryKey
getPrimaryKey
getRelation
hasAttribute
insert
isPrimaryKey
link
populateRelation
primaryKey
save
setAttribute
unlink
update
updateAll