You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Troy Davisson edited this page Mar 5, 2016
·
3 revisions
Note: This page documents capabilities available in the older 1.x version. Please see this repository's README file for the new 2.x version documentation.
GetMetadataObjects
GetMetadataObjects ( string $resource )
Get information about available object types for the specified Resource
Parameters
$resource - RETS Resource
Return Value
Array
Each array item represents a single object type available. Returns FALSE if request for information failed.
Usage Examples
<?php$object_types = $rets->GetMetadataObjects("Property");
foreach ($object_typesas$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"