interface DatabaseFileUtilityInterface in Smart IP 8.2
Same name and namespace in other branches
- 8.4 src/DatabaseFileUtilityInterface.php \Drupal\smart_ip\DatabaseFileUtilityInterface
- 8.3 src/DatabaseFileUtilityInterface.php \Drupal\smart_ip\DatabaseFileUtilityInterface
Provides an interface for Smart IP's data source modules for its database file.
@package Drupal\smart_ip
Hierarchy
- interface \Drupal\smart_ip\DatabaseFileUtilityInterface
Expanded class hierarchy of DatabaseFileUtilityInterface
All classes that implement DatabaseFileUtilityInterface
File
- src/
DatabaseFileUtilityInterface.php, line 16 - Contains \Drupal\smart_ip\DatabaseFileUtilityInterface.
Namespace
Drupal\smart_ipView source
interface DatabaseFileUtilityInterface {
/**
* Get Smart IP's data source module's database filename.
*
* @return string
*/
public static function getFilename();
/**
* Get Smart IP's data source module's database file's path.
*
* @param bool $autoUpdate
* @param string $customPath
* @return string
*/
public static function getPath($autoUpdate, $customPath);
/**
* Checks if Smart IP's data source module's database file needs update.
*
* @param bool $autoUpdate
* @param int $frequency
* @return bool
*/
public static function needsUpdate($autoUpdate, $frequency);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
DatabaseFileUtilityInterface:: |
public static | function | Get Smart IP's data source module's database filename. | |
DatabaseFileUtilityInterface:: |
public static | function | Get Smart IP's data source module's database file's path. | 1 |
DatabaseFileUtilityInterface:: |
public static | function | Checks if Smart IP's data source module's database file needs update. | 1 |