Get or set attribute
Available since version 3.0.153.
Usage
// basic usage
$string = $commentForm->attrs(string $name);
// usage with all arguments
$string = $commentForm->attrs(string $name, $value = null);
Arguments
Name | Type(s) | Description |
---|---|---|
name | string | |
value (optional) | string, null |
Return value
string
CommentForm methods and properties
API reference based on ProcessWire core version 3.0.236