ICanBoogie/Validate master
  • Namespace
  • Class

Namespaces

  • ICanBoogie
    • Validate
      • Reader
      • Validation
      • Validator
      • ValidatorProvider

Classes

  • AbstractComparisonValidator
  • AbstractRangeValidator
  • AbstractValidator
  • Between
  • BetweenLength
  • Blank
  • Boolean
  • Email
  • Equal
  • Identical
  • IsFalse
  • IsNull
  • IsTrue
  • JSON
  • Max
  • MaxLength
  • Min
  • MinLength
  • NotBetween
  • NotBetweenLength
  • NotBlank
  • NotEqual
  • NotIdentical
  • NotNull
  • Regex
  • Required
  • TimeZone
  • Type
  • URL

Class BetweenLength

Validates that a value is between two references.

ICanBoogie\Validate\Validator\AbstractValidator implements ICanBoogie\Validate\Validator
Extended by ICanBoogie\Validate\Validator\AbstractRangeValidator
Extended by ICanBoogie\Validate\Validator\BetweenLength

Direct known subclasses

ICanBoogie\Validate\Validator\NotBetweenLength

Namespace: ICanBoogie\Validate\Validator
Located at Validator/BetweenLength.php

Methods summary

protected boolean
# compare( mixed $value, mixed $min, mixed $max )

Parameters

$value
$min
$max

Returns

boolean

Inheritdoc

Methods inherited from ICanBoogie\Validate\Validator\AbstractRangeValidator

get_params_mapping(), validate()

Methods inherited from ICanBoogie\Validate\Validator\AbstractValidator

normalize_params()

Constants summary

Constants inherited from ICanBoogie\Validate\Validator\AbstractRangeValidator

MESSAGE_ARG_MAX, MESSAGE_ARG_MIN, MESSAGE_ARG_VALUE_TYPE, PARAM_MAX, PARAM_MIN

Constants inherited from ICanBoogie\Validate\Validator

ALIAS, DEFAULT_MESSAGE, MESSAGE_ARG_ATTRIBUTE, MESSAGE_ARG_VALIDATOR, MESSAGE_ARG_VALUE

Constants inherited from ICanBoogie\Validate\ValidatorOptions

OPTION_IF, OPTION_MESSAGE, OPTION_STOP_ON_ERROR, OPTION_UNLESS

ICanBoogie/Validate master API documentation generated by ApiGen