InputfieldPageTable::setAttribute() method

Set an attribute to the Inputfield

In this case we capture set to the 'value' attribute to make sure it can only be a PageArray

Usage

$inputfieldPageTable->setAttribute($key, $value);

Arguments

NameType(s)Description
keyarray, string
valueint, string

Return value

$this

Object instance it was called from (method supports fluent interface).

Exceptions

Method can throw exceptions on error:

  • WireException


InputfieldPageTable methods and properties

API reference based on ProcessWire core version 3.0.244

I just love the easy and intuitive ProcessWire API. ProcessWire rocks!” —Jens Martsch, Web developer