示例#1
0
 function valuesFromForm(array &$values, ApiKey $record)
 {
     $record->setPerms($values['_perms']);
     $values['perms'] = $record->perms;
 }