I have a $node object, in this node there is some fields (Drupal 7). The module works on all contents type, so i do not know what fields the node have. I need to list all fields from a node and get the type of field. Someone can show a example how to do this please? Thanks.