Toggle navigation
Hot Examples
ES
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Buscar
Inicio
yii
db
ActiveRecordInterface
hasAttribute
yii\db\ActiveRecordInterface::hasAttribute PHP Method
ActiveRecordInterface Interface Documentation
Mostrar archivo
Open project: yiisoft/yii2
hasAttribute()
public
method
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
return
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