ndo2fs API

FIXME

Download

Install

Examples

List of all hosts

getHosts() returns a list of all hosts the current user is authorized for.

<?php
include('./ndo2fs-api.php');
$ndo2fs = new ndo2fs;
$ndo2fs->getHosts();
print_r( $ndo2fs->hostList);
?>

List of all hosts including state

getHostStates() extends the list by host state and other fields.

<?php
include('./ndo2fs-api.php');
$ndo2fs = new ndo2fs;
$ndo2fs->getHosts();
$ndo2fs->getHostStates();
print_r( $ndo2fs->hostList);
?>
ndo2fs/ndo2fs-php.txt · Last modified: 2009/01/04 10:57 by wolfgang
www.chimeric.de Creative Commons License Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0