This commit is contained in:
zhaoke
2023-01-12 05:00:46 +00:00
parent 55ad3049c7
commit 4b1bb58383
5 changed files with 106 additions and 3 deletions
+23
View File
@@ -59,6 +59,29 @@ class zanode extends control
$this->display();
}
/**
* Browse ZenAgent Node list in zahost view.
*
* @param string $browseType
* @param string $param
* @param string $orderBy
* @param int $recTotal
* @param int $recPerPage
* @param int $pageID
* @access public
* @return void
*/
public function list($hostID, $orderBy = 'id_desc')
{
$this->view->title = $this->lang->zanode->common;
$this->view->nodeList = $this->loadModel("zanode")->getListByHost($hostID, $orderBy);
$this->view->orderBy = $orderBy;
$this->view->hostID = $hostID;
$this->display();
}
/**
* Create node.
*