Get attributes for the asmSelect fields selection
Usage
// basic usage
$array = $processTemplate->getAsmListAttrs(Field $field);
// usage with all arguments
$array = $processTemplate->getAsmListAttrs(Field $field, $hasField = null);
Arguments
Name | Type(s) | Description |
---|---|---|
field | Field | |
hasField (optional) | bool, null | Does template currently have this field? (or null if column width adjustment not supported) |
Return value
array
ProcessTemplate methods and properties
API reference based on ProcessWire core version 3.0.236