PHP 클래스 HTMLPurifier_AttrDef_URI_IPv4, yii

저자: Feyd @ forums.devnetwork.net (public domain)
상속: extends HTMLPurifier_AttrDef
파일 보기 프로젝트 열기: yiisoft/yii

보호된 프로퍼티들

프로퍼티 타입 설명
$ip4 IPv4 regex, protected so that IPv6 can reuse it.

공개 메소드들

메소드 설명
validate ( string $aIP, HTMLPurifier_Config $config, HTMLPurifier_Context $context ) : boolean | string

보호된 메소드들

메소드 설명
_loadRegex ( ) Lazy load function to prevent regex from being stuffed in cache.

메소드 상세

_loadRegex() 보호된 메소드

Lazy load function to prevent regex from being stuffed in cache.
protected _loadRegex ( )

validate() 공개 메소드

public validate ( string $aIP, HTMLPurifier_Config $config, HTMLPurifier_Context $context ) : boolean | string
$aIP string
$config HTMLPurifier_Config
$context HTMLPurifier_Context
리턴 boolean | string

프로퍼티 상세

$ip4 보호되어 있는 프로퍼티

IPv4 regex, protected so that IPv6 can reuse it.
protected $ip4