Class RepeaterControl (namespace Nette\Forms)


A control that repeats a specified prototype for each item in the list.

Object
   |
   --Component
      |
      --ComponentContainer
         |
         --FormContainer
            |
            --RepeaterControl
Author: David Grudl
Copyright: Copyright (c) 2004, 2009 David Grudl
Located: in /Forms/Controls/RepeaterControl.php (line 35)
Public Method Summary
RepeaterControl
mixed
Get value.
void
Load HTTP data.
RepeaterControl
setValue (mixed $value)
Set value.
Methods Inherited From FormContainer
addButton(), addCheckbox(), addComponent(), addContainer(), addFile(), addHidden(), addImage(), addMultiSelect(), addPassword(), addRadioList(), addRepeater(), addSelect(), addSubmit(), addText(), addTextArea(), getControls(), getForm(), getValues(), isValid(), offsetExists(), offsetGet(), offsetSet(), offsetUnset(), setCurrentGroup(), setDefaults(), setValues(), validate(), __clone()
Methods Inherited From ComponentContainer
addComponent(), createComponent(), getComponent(), getComponents(), removeComponent(), validateChildComponent(), __clone()
Methods Inherited From Component
__construct(), attached(), detached(), getName(), getParent(), lookup(), lookupPath(), monitor(), setParent(), unmonitor(), validateParent(), __clone(), __wakeup()
Methods Inherited From Object
extensionMethod(), getClass(), getReflection(), __call(), __callStatic(), __get(), __isset(), __set(), __unset()
Variable Summary
int $repeatCount 3

line 38

int $repeatMax 0

line 44

int $repeatMin 1

line 41

protected array $value

line 47


Method Details

line 52

__construct

public RepeaterControl __construct ()

Output
RepeaterControl  

line 80

getValue

public mixed getValue ()

Get value.

Output
mixed  

line 91

loadHttpData

public void loadHttpData ()

Load HTTP data.

Output
void  

line 64

setValue

public RepeaterControl setValue (mixed $value)

Set value.

Input
mixed $value
Output
RepeaterControl provides a fluent interface