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
hasAttribute
yii\db\ActiveRecordInterface::hasAttribute PHP Метод
Документация по интерфейсу ActiveRecordInterface
Показать файл
Открыть проект
hasAttribute()
публичный
Метод
Returns a value indicating whether the record has an attribute with the specified name.
public
hasAttribute
(
string
$name
) :
boolean
$name
string
the name of the attribute
Результат
boolean
whether the record has an attribute with the specified name.
public function hasAttribute($name);
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