Add classes to HTMLCheckMatrix items to identify forced ones
authorSam Wilson <sam@samwilson.id.au>
Tue, 19 Sep 2017 07:46:25 +0000 (15:46 +0800)
committerSam Wilson <sam@samwilson.id.au>
Tue, 19 Sep 2017 07:46:25 +0000 (15:46 +0800)
commitfeb5be31fddb154cdc659650647d05070bc58bdc
tree7136ff9037b862a7555e8449f48be6e9838ab0e2
parentb347d8e101f465836ec451659f338f4b2ece5a4c
Add classes to HTMLCheckMatrix items to identify forced ones

Some items in an HTMLCheckMatrix form field can be forced to be
on or off, in which case they're disabled. This adds three new
class names, so that (for example) Javascript can identify these
checkboxes. There are not currently any classes assigned to them.

Bug: T172585
Change-Id: I984020ce2437effb3ff5f186470105fd80d4a00f
includes/htmlform/fields/HTMLCheckMatrix.php