fields_get() can be used to inspect a model’s fields and check which ones seem to be of interest. Because it returns a large amount of meta-information (it is also used by client programs) it should be filtered before printing, the most interesting items for a human user are ‘string’ (the field’s label), ‘help’ (a help […]