/** * * @param string $value * @return boolean */ public function _validateIPv4($value) { if (!parent::_validateIPv4($value)) { return false; } if (!$this->_cidr_match($value, $this->_range)) { return false; } return true; }