Nodes
HW Type
OS
Mode
Status
HW Ctrl Pt
Comment
EOS; return $html; } function getXCATNodeTableFooter() { $html = << EOS; return $html; } /** * @param String nodeGroupName The name of the node group. */ function getToggleString($nodeGroupName) { global $imagedir; global $colTxt, $exTxt; global $bulgif; global $minusgif; global $plusgif; $html = << EOS; return $html; } /** * @param String nodeGroup The group. */ function getXCATGroupTableRow($nodeGroup) { $config = &Config::getInstance(); $imagedir = $config->getValue("IMAGEDIR"); $nodeGroupName = $nodeGroup->getName(); $img_string = XCATNodeGroupUtil::getImageString($nodeGroup->getStatus()); $html = << EOS; $html .= HTMLProducer::getToggleString($nodeGroupName); $html .= <<$nodeGroupName
 
 
 
$img_string
 
 
EOE; return $html; } /** * @param XCATNodeGroup nodeGroup The node group for which we want to generate the html. * returns the table that contains all the nodes information of that group */ function getXCATNodeGroupSection($nodeGroup) { $config = &Config::getInstance(); $imagedir = $config->getValue("IMAGEDIR"); $right_arrow_gif = $imagedir . "/grey_arrow_r.gif"; $left_arrow_gif = $imagedir . "/grey_arrow_l.gif"; $html .= << EOS; $nodes = $nodeGroup->getNodes(); foreach($nodes as $nodeName => $node) { $html .= HTMLProducer::getXCATNodeTableRow($node); } $html .= "\"Previous    \"Next  "; $html .= << EOS; return $html; } /** * @param XCATNode node The node for which we want to generate the html. */ function getXCATNodeTableRow($node) { $config = &Config::getInstance(); $imagedir = $config->getValue("IMAGEDIR"); //echo $node->getName(); $html = " getName(). "\" />" .$node->getName(). "" . "
" . $node->getHwType(). "
". "
" . $node->getOs(). "
". "
" . $node->getMode(). "
"; $stat = $node->getStatus(); $img_string = XCATNodeGroupUtil::getImageString($stat); $html .= "
" . $img_string . "
". "
" . $node->getHwCtrlPt(). "
". "
" . $node->getComment(). "
"; EOS; return $html; } } ?>