From e13470b28a8d82e5100291295bc68f8b8fda1148 Mon Sep 17 00:00:00 2001 From: Sven Slootweg Date: Sun, 29 Apr 2012 07:24:57 +0200 Subject: [PATCH] GetNodes function --- frontend/classes/class.node.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/frontend/classes/class.node.php b/frontend/classes/class.node.php index d05d900..ae262a5 100644 --- a/frontend/classes/class.node.php +++ b/frontend/classes/class.node.php @@ -35,6 +35,11 @@ class Node extends CPHPDatabaseRecordClass ); public $ssh = null; + + public function GetNodes() + { + var_dump($this->ssh->RunCommand("vzlist -a")); + } } ?>