w10schools
Login
Register
In current category
Only my posts
Home
Tutorials
HTML, CSS
HTML, HTML5
CSS, CSS3
XML
JavaScript, AJAX
PHP
Ruby on Rails
Ruby
Rails
ASP.NET
ASP
C# .NET
Java
JSP
Databases
MySQL
MSSQL Server
Oracle
Web Server
Windows
Linux
Apache
IIS
Design
Dreamweaver
Flash
Photoshop
Fireworks
CorelDRAW
Illustrator
References
HTML
Bootstrap
CSS
CSS Selectors
Sass
JavaScript
Mobile Apps
Cordova
Ruby on Rails
Ruby
Rails
PHP
Function
Language
CodeIgniter
Phalcon
PHPUnit
Symfony
Drupal
Yii
Laravel
Perl
Perl
Python
Python
Django
NumPy
Pandas
scikit-image
scikit-learn
Statsmodels
Matplotlib
Lua
Lua
C, C++
C
C++
Server
Docker
Apache HTTP Server
Nginx
Database
PostgreSQL
Big Data
TensorFlow
Game Development
Phaser
LÖVE
Articles
News
General
Website Promotion
Online Advertising
Make Money Online
Editorials
Interviews
Web Roundups
Resources
Design
Fonts
Graphics
Vectors
Templates
UI (User Interface)
Brushes
Patterns, Backgrounds
Textures
Web Development
HTML, CSS
XML
JavaScript, AJAX
Ruby on Rails
PHP
Java
.NET
Python
Perl
Flash
Mobile Application Development
Mobile Development Tools
Swift
Online Services
Online Storage
Web Hosting
Tools
Generators
Edit
Toggle Dropdown
In Place Editing
Advanced Editing
References
PHP
Yii
validators
IpValidator
Language
Default
Markdown
validators\IpValidator validateIPv6()
validateIPv6()
protected method
Validates IPv6 address
protected
boolean
validateIPv6
(
$value
)
$value
string
Links:
http://www.yiiframework.com/doc-2.0/yii-validators-ipvalidator.html#validateIPv6()-detail
doc_Yii
2016-10-30 17:13:57
Comments
Leave a Comment
Please
login
to continue.
Popular Articles
validators\IpValidator $ipv6Pattern
$ipv6Pattern public property Regexp-pattern to validate IPv6 address public string $ipv6Pattern = '/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|(
validators\IpValidator $networks
$networks public property The network aliases, that can be used in $ranges. key - alias name value - array of strings. String can be an IP range,
validators\IpValidator $ipv4
$ipv4 public property Whether the validating value can be an IPv4 address. Defaults to true. public boolean $ipv4 = true
validators\IpValidator $ipv4NotAllowed
$ipv4NotAllowed public property User-defined error message is used when validation fails due to the disabled IPv4 validation. You may use the fol
validators\IpValidator $ipv6
$ipv6 public property Whether the validating value can be an IPv6 address. Defaults to true. public boolean $ipv6 = true
Return to View
Please login to continue.