blocked_ip_load
function blocked_ip_load
blocked_ip_load($iid)
Retrieve a blocked IP address from the database.
Parameters
$iid integer: The ID of the blocked IP address to retrieve.
Return value
The blocked IP address from the database as an array.
File
- modules/system/system.module, line 1695
- Configuration system that lets administrators modify the workings of the site.
Code
function blocked_ip_load($iid) { return db_query("SELECT * FROM {blocked_ips} WHERE iid = :iid", array(':iid' => $iid))->fetchAssoc(); }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/modules!system!system.module/function/blocked_ip_load/7.x