/** * Mapa skupiny hostů * * @param int $hostgroup_id * @param type $directed * @param array $attributes * @param type $name * @param type $strict * @param type $returnError */ public function __construct($hostgroup_id, $directed = false, $attributes = array(), $name = 'G', $strict = true, $returnError = false) { $this->hostgroup = new IEHostgroup($hostgroup_id); $attributes['rankdir'] = 'LR'; // $attributes['fontsize'] = '8'; parent::__construct($directed, $attributes, $name, $strict, $returnError); }
<?php /** * Icinga Editor - titulní strana * * @package IcingaEditor * @subpackage WebUI * @author Vitex <*****@*****.**> * @copyright 2012 Vitex@hippy.cz (G) */ require_once 'includes/IEInit.php'; $oPage->onlyForLogged(); $gv = new IEHostMap(); error_reporting(E_ALL ^ E_STRICT); $gv->image();