db\BaseActiveRecord hasAttribute()

hasAttribute() public method

Returns a value indicating whether the model has an attribute with the specified name.

public boolean hasAttribute ( $name )
$name string

The name of the attribute

return boolean

Whether the model has an attribute with the specified name.

doc_Yii
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.