SproutCMS

This is the code documentation for the SproutCMS project

function ipv4AddrOrCidr()

Checks that a value is a valid IPv4 address or CIDR block

Usage

void Validity::ipv4AddrOrCidr ( string $val );

Arguments

  1. string $val
    value

Exceptions thrown

Return value

  • void