Namespaces

  • Nette
    • Application
    • Caching
    • Collections
    • Config
    • Forms
    • IO
    • Loaders
    • Mail
    • Reflection
    • Security
    • Templates
    • Web
  • None
  • PHP

Classes

  • Button
  • Checkbox
  • ConventionalRenderer
  • FileUpload
  • Form
  • FormContainer
  • FormControl
  • FormGroup
  • HiddenField
  • ImageButton
  • InstantClientScript
  • MultiSelectBox
  • RadioList
  • Rule
  • Rules
  • SelectBox
  • SubmitButton
  • TextArea
  • TextBase
  • TextInput

Interfaces

  • IFormControl
  • IFormRenderer
  • INamingContainer
  • ISubmitterControl
  • Overview
  • Namespace
  • Class
  • Tree
  • Other releases

Class Rule

Single validation rule or condition represented as value object.

Nette\Object
Extended by Nette\Forms\Rule
Final
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

integer FILTER 3
#

type

type

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

(only for CONDITION type)

(only for CONDITION type)

Nette Framework 0.9.7 API documentation generated by ApiGen 2.3.0