JFormField::getAttribute
Method to get an attribute of the field
Signature
public function getAttribute(string
$name,
[mixed
$default = null] )
Parameters
-
$name
- Name of the attribute to get
-
$default
- Optional value to return if attribute not found
Returns
- mixed
- Value of the attribute / default