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
2016-10-30 16:56:48
Comments
Leave a Comment

Please login to continue.