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 IsTrue

Validates that a value is true.

ICanBoogie\Validate\Validator\AbstractValidator implements ICanBoogie\Validate\Validator
Extended by ICanBoogie\Validate\Validator\IsTrue
Namespace: ICanBoogie\Validate\Validator
Located at Validator/IsTrue.php

Methods summary

public boolean
# validate( mixed $value, ICanBoogie\Validate\Context $context )

Parameters

$value
$context

Returns

boolean

Inheritdoc

Methods inherited from ICanBoogie\Validate\Validator\AbstractValidator

get_params_mapping(), normalize_params()

Constants summary

Constants inherited from ICanBoogie\Validate\ValidatorOptions

OPTION_IF, OPTION_MESSAGE, OPTION_STOP_ON_ERROR, OPTION_UNLESS

Constants inherited from ICanBoogie\Validate\Validator

ALIAS, DEFAULT_MESSAGE, MESSAGE_ARG_ATTRIBUTE, MESSAGE_ARG_VALIDATOR, MESSAGE_ARG_VALUE

ICanBoogie/Validate master API documentation generated by ApiGen