blocked_ip_load

Versions
7
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.

Code

modules/system/system.module, line 1478

<?php
function blocked_ip_load($iid) {
  return db_query("SELECT * FROM {blocked_ips} WHERE iid = :iid", array(':iid' => $iid))->fetchAssoc();
}
?>
Login or register to post comments
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.