Overview

Namespaces

  • None
  • PHP
  • Wei
    • Validator

Classes

  • All
  • AllOf
  • Alnum
  • Alpha
  • BaseValidator
  • Between
  • Blank
  • Callback
  • CharLength
  • Chinese
  • Color
  • Contains
  • CreditCard
  • Date
  • DateTime
  • Decimal
  • Digit
  • Dir
  • DivisibleBy
  • DoubleByte
  • Email
  • EndsWith
  • EqualTo
  • Exists
  • FieldExists
  • File
  • GreaterThan
  • GreaterThanOrEqual
  • IdCardCn
  • IdCardHk
  • IdCardMo
  • IdCardTw
  • IdenticalTo
  • Image
  • In
  • Ip
  • Length
  • LessThan
  • LessThanOrEqual
  • Lowercase
  • Luhn
  • MaxLength
  • MinLength
  • MobileCn
  • NaturalNumber
  • NoneOf
  • Null
  • Number
  • OneOf
  • Password
  • Phone
  • PhoneCn
  • PlateNumberCn
  • PositiveInteger
  • PostcodeCn
  • Present
  • QQ
  • RecordExists
  • Regex
  • Required
  • SomeOf
  • StartsWith
  • Time
  • Tld
  • Type
  • Uppercase
  • Url
  • Uuid
  • Overview
  • Namespace
  • Class
  • Tree

Class NoneOf

Check if the input is NOT valid by all of specified rules

Wei\Base
Extended by Wei\Validator\BaseValidator
Extended by Wei\Validator\SomeOf
Extended by Wei\Validator\NoneOf
Namespace: Wei\Validator
Author: Twin Huang twinhuang@qq.com
Located at Validator/NoneOf.php
Methods summary
public boolean
# __invoke( $input, array $rules = array(), mixed $__ = null )

Validate the input value

Validate the input value

Parameters

$input
$__ Avoid compatible error
$rules
$__

Returns

boolean

Overrides

Wei\Validator\SomeOf::__invoke()
protected boolean
# doValidate( mixed $input )

Validate the input value (ignore the $negative property)

Validate the input value (ignore the $negative property)

Parameters

$input
The input to be validated

Returns

boolean

Overrides

Wei\Validator\SomeOf::doValidate()
Methods inherited from Wei\Validator\SomeOf
getMessages(), reset()
Methods inherited from Wei\Validator\BaseValidator
addError(), getErrors(), getFirstMessage(), getJoinedMessage(), getName(), hasError(), isString(), isValid(), loadTranslationMessages(), setMessages(), setName(), storeOption()
Methods inherited from Wei\Base
__call(), __construct(), __get(), getOption(), setOption()
Magic methods inherited from Wei\Validator\BaseValidator
t()
Properties summary
protected string $invalidMessage
# '%name% must be passed by all of these rules'
protected boolean $combineMessages

Whether combine messages into single one or not

Whether combine messages into single one or not

# false
Properties inherited from Wei\Validator\SomeOf
$atLeast, $atLeastMessage, $count, $left, $rules, $validators
Properties inherited from Wei\Validator\BaseValidator
$errors, $name, $negative, $negativeMessage, $notStringMessage, $validator
Properties inherited from Wei\Base
$providers, $wei
Magic properties inherited from Wei\Validator\BaseValidator
$t
Wei Framework API documentation generated by ApiGen