DatabaseFileUtilityInterface.php in Smart IP 8.2
Same filename and directory in other branches
Namespace
Drupal\smart_ipFile
src/DatabaseFileUtilityInterface.phpView source
<?php
/**
* @file
* Contains \Drupal\smart_ip\DatabaseFileUtilityInterface.
*/
namespace Drupal\smart_ip;
/**
* Provides an interface for Smart IP's data source modules for its database
* file.
*
* @package Drupal\smart_ip
*/
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);
}
Interfaces
Name | Description |
---|---|
DatabaseFileUtilityInterface | Provides an interface for Smart IP's data source modules for its database file. |