Exemplo n.º 1
0
Arquivo: Ip.php Projeto: knatorski/SMS
 /**
  * 
  * @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;
 }