[ Index ]

PHP Cross Reference of vtigercrm-6.1.0

title

Body

[close]

/include/Zend/Validate/ -> Ip.php (summary)

Zend Framework LICENSE

Copyright: Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
License: http://framework.zend.com/license/new-bsd New BSD License
Version: $Id: Ip.php 24593 2012-01-05 20:35:02Z matthew $
File Size: 191 lines (6 kb)
Included or required: 1 time
Referenced: 0 times
Includes or requires: 1 file
 include/Zend/Validate/Abstract.php

Defines 1 class

Zend_Validate_Ip:: (6 methods):
  __construct()
  getOptions()
  setOptions()
  isValid()
  _validateIPv4()
  _validateIPv6()


Class: Zend_Validate_Ip  - X-Ref


__construct($options = array()   X-Ref
Sets validator options

param: array $options OPTIONAL Options to set, see the manual for all available options
return: void

getOptions()   X-Ref
Returns all set options

return: array

setOptions($options)   X-Ref
Sets the options for this validator

param: array $options
return: Zend_Validate_Ip

isValid($value)   X-Ref
Defined by Zend_Validate_Interface

Returns true if and only if $value is a valid IP address

param: mixed $value
return: boolean

_validateIPv4($value)   X-Ref
Validates an IPv4 address

param: string $value

_validateIPv6($value)   X-Ref
Validates an IPv6 address

param: string $value Value to check against
return: boolean True when $value is a valid ipv6 address



Generated: Fri Nov 28 20:08:37 2014 Cross-referenced by PHPXref 0.7.1