GetMetadataTable ( string $resource, string $class )
Gets field information about the specified Class
$fields = $rets->GetMetadataTable("Property", "RES");
foreach ($fields as $field) {
echo "+ Field {$field['SystemName']} is a {$field['DataType']} type\n";
}+ Field Status is a Character type + Field Rooms is a Int type + Field ZipCode is a Character type + Field City is a Character type + Field ContractDate is a Date type + Field ClosePrice is a Int type + Field County is a Character type + Field YearBuilt is a Int type + Field Garage is a Int type + Field LivingArea is a Int type + Field StreetNumber is a Character type + Field StreetDirection is a Character type + Field Board is a Character type + Field ModificationTimestamp is a DateTime type + Field StreetName is a Character type + Field ListDate is a Date type + Field AgentID is a Int type + Field Unit is a Character type + Field State is a Character type + Field SqFt is a Decimal type + Field Bedrooms is a Int type + Field ListPrice is a Int type + Field ListingID is a Int type + Field Baths is a Int type + Field CloseDate is a Date type