Class NRepeaterControl


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

NObject
   |
   --NComponent
      |
      --NComponentContainer
         |
         --NFormContainer
            |
            --NRepeaterControl
Author: David Grudl
Copyright: Copyright (c) 2004, 2009 David Grudl
Located: in /Forms/Controls/RepeaterControl.php (line 35)
Public Method Summary
NRepeaterControl
mixed
Get value.
void
Load HTTP data.
NRepeaterControl
setValue (mixed $value)
NSet value.
Methods Inherited From NFormContainer
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 NComponentContainer
addComponent(), createComponent(), getComponent(), getComponents(), removeComponent(), validateChildComponent(), __clone()
Methods Inherited From NComponent
__construct(), attached(), detached(), getName(), getParent(), lookup(), lookupPath(), monitor(), setParent(), unmonitor(), validateParent(), __clone(), __wakeup()
Methods Inherited From NObject
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 NRepeaterControl __construct ()

Output
NRepeaterControl  

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 NRepeaterControl setValue (mixed $value)

NSet value.

Input
mixed $value
Output
NRepeaterControl provides a fluent interface