menu

Adianti Solutions

API

Adianti, Framework, PHP, MVC, Active record, Front controller, IDE, RAD, Web, multiplataforma, geração de código, desenvolvimento rápido, relatórios, formulários, listagens, datagrids, gráficos, banco de dados, padrões de projeto, design patterns API do Adianti Framework.
API Docs
code
Selecione a classe

Class TFieldValidator

Description

TFieldValidator abstract validation class

Located in /validator/TFieldValidator.php (line 13)


	
			
Direct descendents
Class Description
TMinValueValidator Minimum value validation
TMaxValueValidator Maximum value validation
TEmailValidator Email validation
TCPFValidator CPF validation (Valid only in Brazil)
TCNPJValidator CNPJ validation (Valid only in Brazil)
TRequiredValidator Required field validation
TMaxLengthValidator Maximum length validation
TNumericValidator Numeric validation
TMinLengthValidator Minimum length validation
Method Summary
validate ($label, $value, [$parameters = NULL])
Methods
validate (line 21)

Validate a given value

  • abstract:
  • access: public
validate ($label, $value, [$parameters = NULL])
  • $label: Identifies the value to be validated in case of exception
  • $value: Value to be validated
  • $parameters: aditional parameters for validation

Redefined in descendants as: