private static function _processSiteId($siteCode) { if (empty($siteCode)) { return false; } else { if (!isset(self::$_stored[$siteCode]) && isset(self::$_database['id']) && !empty(self::$_database['id'])) { \mod\arkeogis\ArkeoGIS::deleteSite($siteCode, self::$_database['id']); } self::$_current['code'] = $siteCode; } return true; }