- switched "system search" Ajax endpoint data source from _SDE_ DB to new _eve_universe_ DB, #628 closed #644

- switched "constellation search" Ajax endpoint data source from _SDE_ DB to new _eve_universe_ DB, #628
- improved "system search" field, multiple changes/fixes see #644
This commit is contained in:
Mark Friedrich
2018-06-23 14:26:42 +02:00
parent 38ceb9275c
commit ae04715465
23 changed files with 237 additions and 152 deletions

View File

@@ -896,6 +896,18 @@ abstract class BasicModel extends \DB\Cortex {
$cache->set(self::getF3()->hash($key).'.var', $data, $ttl);
}
/**
* check whether a cache $key exists
* -> §val (reference) get updated with the cache data
* -> equivalent to $f3->exists()
* @param string $key
* @param null $val
* @return bool
*/
public static function existsCacheValue(string $key, &$val = null){
return self::getF3()->exists($key, $val);
}
/**
* debug log function
* @param string $text