Namespaces

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

Classes

  • Container
  • ControlGroup
  • Form
  • Helpers
  • Rule
  • Rules

Interfaces

  • IControl
  • IFormRenderer
  • ISubmitterControl
  • Overview
  • Namespace
  • Class
  • Tree
  • Deprecated
  • Other releases
  • Nette homepage

Class Rule

Single validation rule or condition represented as value object.

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

type

type

integer VALIDATOR 2
#

type

type

Properties summary
public Nette\Forms\IControl $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 Nette\Forms\Rules $subRules
#

(only for CONDITION type)

(only for CONDITION type)

Magic properties inherited from Nette\Object
$reflection
Nette 2.1 API documentation generated by ApiGen 2.8.0