Example #1
0
 /**
  * Check if a value is blocked from registration and post submission)
  *
  * @param string $type - i.e. ip, url, email, user
  * @param string $value
  * @param bool $like - used for LIKE sql if true
  * @return bool
  */
 public function isBlocked($type = '', $value = '', $operator = '=')
 {
     require_once LIBS . 'Blocked.php';
     $blocked = new Blocked();
     return $blocked->isBlocked($this->db, $type, $value, $operator);
 }