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