yii\db\ActiveRecordInterface::hasAttribute PHP Метод

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);