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 36)
Public Method Summary
RepeaterControl
mixed
Get value.
void
loadHttpData (array $data)
Load HTTP data.
void
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(), offsetExists(), offsetGet(), offsetSet(), offsetUnset(), setCurrentGroup()
Methods Inherited From ComponentContainer
addComponent(), createComponent(), getComponent(), getComponents(), removeComponent(), validateChildComponent(), __clone()
Methods Inherited From Component
__construct(), attached(), detached(), getName(), getParent(), getService(), getServiceLocator(), lookup(), lookupPath(), monitor(), setParent(), setServiceLocator(), validateParent(), __clone(), __wakeup()
Methods Inherited From Object
extensionMethod(), getClass(), getReflection(), __call(), __callStatic(), __get(), __isset(), __set(), __unset()
Variable Summary
int $repeatCount 3

line 39

int $repeatMax 0

line 45

int $repeatMin 1

line 42

protected array $value

line 48


Method Details

line 53

__construct

public RepeaterControl __construct ()

Output
RepeaterControl  

line 80

getValue

public mixed getValue ()

Get value.

Output
mixed  

line 92

loadHttpData

public void loadHttpData (array $data)

Load HTTP data.

Input
array $data
Output
void  

line 65

setValue

public void setValue (mixed $value)

Set value.

Input
mixed $value
Output
void