PHP 클래스 HTMLPurifier_AttrDef_CSS_Number, yii

상속: extends HTMLPurifier_AttrDef
파일 보기 프로젝트 열기: yiisoft/yii 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$non_negative Indicates whether or not only positive values are allowed.

공개 메소드들

메소드 설명
__construct ( boolean $non_negative = false )
validate ( string $number, HTMLPurifier_Config $config, HTMLPurifier_Context $context ) : string | boolean

메소드 상세

__construct() 공개 메소드

public __construct ( boolean $non_negative = false )
$non_negative boolean indicates whether negatives are forbidden

validate() 공개 메소드

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

프로퍼티 상세

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

Indicates whether or not only positive values are allowed.
protected $non_negative