View companies with connected servers and created serversOverview class.
This commit is contained in:
@@ -9,6 +9,15 @@ require_once 'API.php';
|
||||
|
||||
class API_servers extends API
|
||||
{
|
||||
public function getServers($returnBoolean = false)
|
||||
{
|
||||
list($query, $types, $params) = $this->buildDynamicQuery('servers');
|
||||
|
||||
$items = $this->generalGetFunction($query, $types, $params, $returnBoolean, 'Server');
|
||||
|
||||
return $items;
|
||||
}
|
||||
|
||||
public function validateDiskData($disks)
|
||||
{
|
||||
foreach ($disks as $index => $disk) {
|
||||
|
||||
Reference in New Issue
Block a user