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. |
Please login to continue.