Packages

  • Nette
    • Application
      • Application\Diagnostics
      • Application\Responses
      • Application\Routers
      • Application\UI
    • Caching
      • Caching\Storages
    • ComponentModel
    • Config
      • Config\Extensions
    • Database
      • Database\Diagnostics
      • Database\Drivers
      • Database\Reflection
      • Database\Table
    • DI
      • DI\Diagnostics
    • Diagnostics
    • Forms
      • Forms\Controls
      • Forms\Rendering
    • Http
    • Iterators
    • Latte
      • Latte\Macros
    • Loaders
    • Localization
    • Mail
    • Reflection
    • Security
      • Security\Diagnostics
    • Templating
    • Utils
      • Utils\PhpGenerator
  • NetteModule
  • None
  • PHP

Classes

  • Form
  • FormContainer
  • FormGroup
  • Rule
  • Rules

Interfaces

  • IFormControl
  • IFormRenderer
  • ISubmitterControl
  • Overview
  • Package
  • Class
  • Tree

Class Rule

Single validation rule or condition represented as value object.

Object
Extended by Rule
Final
Package: Nette\Forms
Author: David Grudl
Located at Forms/Rule.php
Methods inherited from Object
__call(), __callStatic(), __get(), __isset(), __set(), __unset(), extensionMethod(), getReflection()
Constants summary
integer CONDITION 1
#

type

type

integer VALIDATOR 2
#

type

type

integer FILTER 3
#

type

type

Properties summary
public IFormControl $control
#
public mixed $operation
#
public mixed $arg
#
public integer $type
#

(CONDITION, VALIDATOR, FILTER)

(CONDITION, VALIDATOR, FILTER)

public boolean $isNegative FALSE
#
public string $message
#

(only for VALIDATOR type)

(only for VALIDATOR type)

public Rules $subRules
#

(only for CONDITION type)

(only for CONDITION type)

Nette Framework 2.0beta2 (for PHP 5.2) API API documentation generated by ApiGen 2.3.0