-
Notifications
You must be signed in to change notification settings - Fork 235
GetMetadataObjects
troydavisson edited this page Nov 10, 2012
·
3 revisions
GetMetadataObjects ( string $resource )
Get information about available object types for the specified Resource
$resource
- RETS Resource
Array
Each array item represents a single object type available. Returns FALSE if request for information failed.
<?php
$object_types = $rets->GetMetadataObjects("Property");
foreach ($object_types as $type) {
echo "+ Object {$type['ObjectType']} described as " . $type['Description'] . "\n";
}
+ Object BrandedPhoto described as "A branded image image (Not covered by the RETS Specification)"
+ Object BrandedThumbnail described as "A branded lower-resolution image (Not covered by the RETS Specif"
+ Object Enlarged described as "An enlarged image (Not covered by the RETS Specification)"
+ Object Thumbnail described as "A lower-resolution image related to the element defined by the r"
+ Object BrandedEnlarged described as "A branded and enlarged image (Not covered by the RETS Specificat"
+ Object Photo described as "A representation image related to the element defined by the res"