Class InstantClientScript (namespace Nette\Forms)


Instant validation JavaScript generator.

Object
   |
   --InstantClientScript
Copyright: Copyright (c) 2004, 2010 David Grudl
Located: in /Forms/Renderers/InstantClientScript.php (line 21)
Public Method Summary
InstantClientScript
__construct (Form $form)
void
enable ()
static void
string
Generates the client side validation script.
Methods Inherited From Object
extensionMethod(), getClass(), getReflection(), __call(), __callStatic(), __get(), __isset(), __set(), __unset()

Method Details

line 37

__construct

public InstantClientScript __construct (Form $form)

Input
Form $form
Output
InstantClientScript  

line 44

enable

public void enable ()

Output
void  

line 255

javascript

public static void javascript ()

Output
void  

line 86

renderClientScript

public string renderClientScript ()

Generates the client side validation script.

Output
string