Skip to content
troydavisson edited this page Nov 10, 2012 · 3 revisions

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_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"
Related To

GetObject