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 AbstractValidator

Abstract validator.

ICanBoogie\Validate\Validator\AbstractValidator implements ICanBoogie\Validate\Validator

Direct known subclasses

ICanBoogie\Validate\Validator\AbstractComparisonValidator, ICanBoogie\Validate\Validator\AbstractRangeValidator, ICanBoogie\Validate\Validator\NotNull, ICanBoogie\Validate\Validator\Regex, ICanBoogie\Validate\Validator\Required, ICanBoogie\Validate\Validator\TimeZone, ICanBoogie\Validate\Validator\Type, ICanBoogie\Validate\Validator\URL, ICanBoogie\Validate\Validator\Blank, ICanBoogie\Validate\Validator\Boolean, ICanBoogie\Validate\Validator\Email, ICanBoogie\Validate\Validator\IsFalse, ICanBoogie\Validate\Validator\IsNull, ICanBoogie\Validate\Validator\IsTrue, ICanBoogie\Validate\Validator\JSON, ICanBoogie\Validate\Validator\NotBlank

Indirect known subclasses

ICanBoogie\Validate\Validator\Between, ICanBoogie\Validate\Validator\BetweenLength, ICanBoogie\Validate\Validator\NotEqual, ICanBoogie\Validate\Validator\NotIdentical, ICanBoogie\Validate\Validator\Equal, ICanBoogie\Validate\Validator\Identical, ICanBoogie\Validate\Validator\Max, ICanBoogie\Validate\Validator\MaxLength, ICanBoogie\Validate\Validator\Min, ICanBoogie\Validate\Validator\MinLength, ICanBoogie\Validate\Validator\NotBetween, ICanBoogie\Validate\Validator\NotBetweenLength

Abstract
Namespace: ICanBoogie\Validate\Validator
Located at Validator/AbstractValidator.php

Methods summary

public array
# normalize_params( array $params )

Parameters

$params

Returns

array

Inheritdoc

Implementation of

ICanBoogie\Validate\Validator::normalize_params()
abstract public boolean
# validate( mixed $value, ICanBoogie\Validate\Context $context )

Parameters

$value
$context

Returns

boolean

Inheritdoc

Implementation of

ICanBoogie\Validate\Validator::validate()
protected array
# get_params_mapping( )

Returns indexed parameters mapping.

Returns indexed parameters mapping.

Returns

array

Constants summary

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