InputfieldPage::setAttribute()

Set an input attribute

Overrides Inputfield::setAttribute() to capture 'value' attribute

Usage

$inputfieldPage = $inputfieldPage->setAttribute($key, $value);

Arguments

NameType(s)Description
$keyarray string
$valuearray int string

Return value

InputfieldPage Inputfield


InputfieldPage methods and properties

API reference based on ProcessWire core version 3.0.252