Display rights choice matrix
public displayRightsChoiceMatrix ( array $rights, array $options = [] ) : random | ||
$rights | array | array possible: 'itemtype' => the type of the item to check (as passed to self::getRightsFor()) 'rights' => when use of self::getRightsFor() is impossible 'label' => the label for the right 'field' => the name of the field inside the DB and HTML form (prefixed by '_') 'html_field' => when $html_field != '_'.$field |
$options | array | array possible: 'title' the title of the matrix 'canedit' 'default_class' the default CSS class used for the row |
return | random | value used to generate the ids |