-
Notifications
You must be signed in to change notification settings - Fork 237
GetMetadataTypes
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.
GetMetadataTypes ( )
Gets information about the classes on the server. Smaller and combined version of GetMetadataResources() and GetMetadataClasses() but done in 1 request.
None
Array
Array returned is 2 deep. First level contains the Resource name. 'Data' key (second level) contains Class information. Returns FALSE
if request for information failed.
<?php
$types = $rets->GetMetadataTypes();
foreach ($types as $type) {
echo "+ Resource {$type['Resource']}\n";
foreach ($type['Data'] as $class) {
echo " + Class {$class['ClassName']}\n";
}
}
+ Resource Property
+ Class COM
+ Class RES
+ Resource Agent
+ Class AGT