private function getObjectStates() { $aOpts = array('ty' => MATCH_GET_OBJECT_TYPE, 'i' => MATCH_STRING_NO_SPACE_EMPTY, 'f' => MATCH_STRING_NO_SPACE_EMPTY); $aVals = $this->getCustomOptions($aOpts, array(), true); // Is this request asked to check file ages? if (isset($aVals['f']) && isset($aVals['f'][0]) && $aVals['f'] != '') { $result = $this->checkFilesChanged($aVals['f']); if ($result !== null) { return $result; } } // Initialize map configuration (Needed in getMapObjConf) $MAPCFG = new GlobalMapCfg($this->name); $MAPCFG->readMapConfig(); // i might not be set when all map objects should be fetched or when only // the summary of the map is called if (isset($aVals['i']) && $aVals['i'] != '') { $MAPCFG->filterMapObjects($aVals['i']); } $MAP = new NagVisMap($MAPCFG, GET_STATE, IS_VIEW); return $MAP->parseObjectsJson($aVals['ty']); }