Packages

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

Classes

  • NButton
  • NCheckbox
  • NConventionalRenderer
  • NFileUpload
  • NForm
  • NFormContainer
  • NFormGroup
  • NHiddenField
  • NImageButton
  • NInstantClientScript
  • NMultiSelectBox
  • NRadioList
  • NRule
  • NRules
  • NSelectBox
  • NSubmitButton
  • NTextArea
  • NTextBase
  • NTextInput

Interfaces

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

Class NRule

Single validation rule or condition represented as value object.

NObject
Extended by NRule
Final
Package: Nette\Forms
Author: David Grudl
Located at Forms/Rule.php
Methods inherited from NObject
__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 NRules $subRules
#

(only for CONDITION type)

(only for CONDITION type)

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