Index
A
- FormsExtension::afterCompile() — Method in class FormsExtension
- Container::addComponent() — Method in class Container
Adds the specified component to the IContainer.
- Container::addText() — Method in class Container
Adds single-line text input control to the form.
- Container::addPassword() — Method in class Container
Adds single-line text input control used for sensitive input such as passwords.
- Container::addTextArea() — Method in class Container
Adds multi-line text input control to the form.
- Container::addEmail() — Method in class Container
Adds input for email.
- Container::addInteger() — Method in class Container
Adds input for integer.
- Container::addUpload() — Method in class Container
Adds control that allows the user to upload files.
- Container::addMultiUpload() — Method in class Container
Adds control that allows the user to upload multiple files.
- Container::addHidden() — Method in class Container
Adds hidden form control used to store a non-displayed value.
- Container::addCheckbox() — Method in class Container
Adds check box control to the form.
- Container::addRadioList() — Method in class Container
Adds set of radio button controls to the form.
- Container::addCheckboxList() — Method in class Container
Adds set of checkbox controls to the form.
- Container::addSelect() — Method in class Container
Adds select box control that allows single item selection.
- Container::addMultiSelect() — Method in class Container
Adds select box control that allows multiple item selection.
- Container::addSubmit() — Method in class Container
Adds button used to submit form.
- Container::addButton() — Method in class Container
Adds push buttons with no default behavior.
- Container::addImage() — Method in class Container
Adds graphical button used to submit form.
- Container::addContainer() — Method in class Container
Adds naming container to the form.
- ControlGroup::add() — Method in class ControlGroup
- BaseControl::attached() — Method in class BaseControl
This method will be called when the component becomes attached to Form.
- BaseControl::addRule() — Method in class BaseControl
Adds a validation rule.
- BaseControl::addCondition() — Method in class BaseControl
Adds a validation condition a returns new branch.
- BaseControl::addConditionOn() — Method in class BaseControl
Adds a validation condition based on another control a returns new branch.
- BaseControl::addError() — Method in class BaseControl
Adds error message to the list.
- CsrfProtection::attached() — Method in class CsrfProtection
This method will be called when the component becomes attached to Form.
- HiddenField::addError() — Method in class HiddenField
Adds error message to the list.
- MultiSelectBox::addOptionAttributes() — Method in class MultiSelectBox
- SelectBox::addOptionAttributes() — Method in class SelectBox
- TextBase::addFilter() — Method in class TextBase
Appends input string filter callback.
- TextBase::addRule() — Method in class TextBase
- TextInput::addRule() — Method in class TextInput
- UploadControl::attached() — Method in class UploadControl
This method will be called when the component (or component's parent) becomes attached to a monitored object. Do not call this method yourself.
- $ Form#action — Property in class Form
- Form::attached() — Method in class Form
This method will be called when the component (or component's parent) becomes attached to a monitored object. Do not call this method yourself.
- Form::addProtection() — Method in class Form
Cross-Site Request Forgery (CSRF) form protection.
- Form::addGroup() — Method in class Form
Adds fieldset group to the form.
- Form::addError() — Method in class Form
Adds global error message.
- $ Rule#arg — Property in class Rule
- Rules::addRule() — Method in class Rules
Adds a validation rule for the current control.
- Rules::addCondition() — Method in class Rules
Adds a validation condition and returns new branch.
- Rules::addConditionOn() — Method in class Rules
Adds a validation condition on specified control a returns new branch.
- Rules::addFilter() — Method in class Rules
Adds a filter callback.
B
- BaseControl — Class in namespace Nette\Forms\Controls
Base class that implements the basic functionality common to form controls.
- Button — Class in namespace Nette\Forms\Controls
Push button control with no default behavior.
- Form::beforeRender() — Method in class Form
- $ Rule#branch — Property in class Rule
C
- Container — Class in namespace Nette\Forms
Container for form controls.
- $ Container#currentGroup — Property in class Container
- $ Container#controls — Property in class Container
- ControlGroup — Class in namespace Nette\Forms
A user group of form controls.
- $ ControlGroup#controls — Property in class ControlGroup
- $ BaseControl#caption — Property in class BaseControl
- $ BaseControl#control — Property in class BaseControl
- $ BaseControl#controlPrototype — Property in class BaseControl
- BaseControl::cleanErrors() — Method in class BaseControl
- Checkbox — Class in namespace Nette\Forms\Controls
Check box control. Allows the user to select a true or false condition.
- CheckboxList — Class in namespace Nette\Forms\Controls
Set of checkboxes.
- $ CheckboxList#container — Property in class CheckboxList
- $ CheckboxList#containerPrototype — Property in class CheckboxList
- ChoiceControl — Class in namespace Nette\Forms\Controls
Choice control that allows single item selection.
- $ ChoiceControl#checkAllowedValues — Property in class ChoiceControl
- ChoiceControl::checkDefaultValue() — Method in class ChoiceControl
- CsrfProtection — Class in namespace Nette\Forms\Controls
CSRF protection field.
- $ MultiChoiceControl#checkAllowedValues — Property in class MultiChoiceControl
- MultiChoiceControl::checkDefaultValue() — Method in class MultiChoiceControl
- $ RadioList#container — Property in class RadioList
- $ RadioList#containerPrototype — Property in class RadioList
- SubmitButton::click() — Method in class SubmitButton
Fires click event.
- Form::cleanErrors() — Method in class Form
- Helpers::createInputList() — Method in class Helpers
- Helpers::createSelectBox() — Method in class Helpers
- $ DefaultFormRenderer#counter — Property in class DefaultFormRenderer
- $ Rule#control — Property in class Rule
- Rules::check() — Method in class Rules
D
- $ FormsExtension#defaults — Property in class FormsExtension
- $ BaseControl#disabled — Property in class BaseControl
- DefaultFormRenderer — Class in namespace Nette\Forms\Rendering
Converts a Form into the HTML output.
- $ Rules#defaultMessages — Property in class Rules
E
- Container::extensionMethod() — Method in class Container
- $ BaseControl#errors — Property in class BaseControl
- $ BaseControl#error — Property in class BaseControl
- BaseControl::enableAutoOptionalMode() — Method in class BaseControl
Globally enables new required/optional behavior.
- BaseControl::extensionMethod() — Method in class BaseControl
- $ TextBase#emptyValue — Property in class TextBase
- $ Form#errors — Property in class Form
- $ Form#elementPrototype — Property in class Form
- Helpers::extractHttpData() — Method in class Helpers
Extracts and sanitizes submitted form data for single control.
- Helpers::exportRules() — Method in class Helpers
- Rules::elseCondition() — Method in class Rules
Adds a else statement.
- Rules::endCondition() — Method in class Rules
Ends current validation condition.
F
- FormsExtension — Class in namespace Nette\Bridges\FormsDI
Forms extension for Nette DI.
- FormMacros — Class in namespace Nette\Bridges\FormsLatte
Latte macros for Nette\Forms.
- $ Container#form — Property in class Container
- $ BaseControl#form — Property in class BaseControl
- $ BaseControl#filled — Property in class BaseControl
- Form — Class in namespace Nette\Forms
Creates, validates and renders HTML forms.
- Form::fireEvents() — Method in class Form
Fires submit/click events.
- Form::fireRenderEvents() — Method in class Form
Must be called before form is rendered and render() is not used.
- $ DefaultFormRenderer#form — Property in class DefaultFormRenderer
- Validator::formatMessage() — Method in class Validator
G
- Container::getValues() — Method in class Container
Returns the values submitted by the form.
- Container::getErrors() — Method in class Container
Returns all validation errors.
- Container::getCurrentGroup() — Method in class Container
Returns current group.
- Container::getControls() — Method in class Container
Iterates over all form controls.
- Container::getForm() — Method in class Container
Returns form.
- ControlGroup::getControls() — Method in class ControlGroup
- ControlGroup::getOption() — Method in class ControlGroup
Returns user-specific option.
- ControlGroup::getOptions() — Method in class ControlGroup
Returns user-specific options.
- BaseControl::getForm() — Method in class BaseControl
Returns form.
- BaseControl::getHttpData() — Method in class BaseControl
Loads HTTP data.
- BaseControl::getHtmlName() — Method in class BaseControl
Returns HTML name of control.
- BaseControl::getValue() — Method in class BaseControl
Returns control's value.
- BaseControl::getControl() — Method in class BaseControl
Generates control's HTML element.
- BaseControl::getLabel() — Method in class BaseControl
Generates label's HTML element.
- BaseControl::getControlPart() — Method in class BaseControl
- BaseControl::getLabelPart() — Method in class BaseControl
- BaseControl::getControlPrototype() — Method in class BaseControl
Returns control's HTML element template.
- BaseControl::getLabelPrototype() — Method in class BaseControl
Returns label's HTML element template.
- BaseControl::getHtmlId() — Method in class BaseControl
Returns control's HTML id.
- BaseControl::getTranslator() — Method in class BaseControl
Returns translate adapter.
- BaseControl::getRules() — Method in class BaseControl
- BaseControl::getError() — Method in class BaseControl
Returns errors corresponding to control.
- BaseControl::getErrors() — Method in class BaseControl
Returns errors corresponding to control.
- BaseControl::getOption() — Method in class BaseControl
Returns user-specific option.
- BaseControl::getOptions() — Method in class BaseControl
Returns user-specific options.
- Button::getLabel() — Method in class Button
Bypasses label generation.
- Button::getControl() — Method in class Button
Generates control's HTML element.
- Checkbox::getControl() — Method in class Checkbox
Generates control's HTML element.
- Checkbox::getLabel() — Method in class Checkbox
Bypasses label generation.
- Checkbox::getControlPart() — Method in class Checkbox
- Checkbox::getLabelPart() — Method in class Checkbox
- Checkbox::getSeparatorPrototype() — Method in class Checkbox
Returns wrapper HTML element template.
- CheckboxList::getControl() — Method in class CheckboxList
Generates control's HTML element.
- CheckboxList::getLabel() — Method in class CheckboxList
Generates label's HTML element.
- CheckboxList::getControlPart() — Method in class CheckboxList
- CheckboxList::getLabelPart() — Method in class CheckboxList
- CheckboxList::getSeparatorPrototype() — Method in class CheckboxList
Returns separator HTML element template.
- CheckboxList::getContainerPrototype() — Method in class CheckboxList
Returns container HTML element template.
- CheckboxList::getItemLabelPrototype() — Method in class CheckboxList
Returns item label HTML element template.
- ChoiceControl::getValue() — Method in class ChoiceControl
Returns selected key.
- ChoiceControl::getRawValue() — Method in class ChoiceControl
Returns selected key (not checked).
- ChoiceControl::getItems() — Method in class ChoiceControl
Returns items from which to choose.
- ChoiceControl::getSelectedItem() — Method in class ChoiceControl
Returns selected value.
- CsrfProtection::getToken() — Method in class CsrfProtection
- CsrfProtection::getControl() — Method in class CsrfProtection
Generates control's HTML element.
- HiddenField::getControl() — Method in class HiddenField
Generates control's HTML element.
- HiddenField::getLabel() — Method in class HiddenField
Bypasses label generation.
- ImageButton::getHtmlName() — Method in class ImageButton
Returns HTML name of control.
- MultiChoiceControl::getValue() — Method in class MultiChoiceControl
Returns selected keys.
- MultiChoiceControl::getRawValue() — Method in class MultiChoiceControl
Returns selected keys (not checked).
- MultiChoiceControl::getItems() — Method in class MultiChoiceControl
Returns items from which to choose.
- MultiChoiceControl::getSelectedItems() — Method in class MultiChoiceControl
Returns selected values.
- MultiChoiceControl::getHtmlName() — Method in class MultiChoiceControl
Returns HTML name of control.
- MultiSelectBox::getControl() — Method in class MultiSelectBox
Generates control's HTML element.
- $ RadioList#generateId — Property in class RadioList
- RadioList::getControl() — Method in class RadioList
Generates control's HTML element.
- RadioList::getLabel() — Method in class RadioList
Generates label's HTML element.
- RadioList::getControlPart() — Method in class RadioList
- RadioList::getLabelPart() — Method in class RadioList
- RadioList::getSeparatorPrototype() — Method in class RadioList
Returns separator HTML element template.
- RadioList::getContainerPrototype() — Method in class RadioList
Returns container HTML element template.
- RadioList::getItemLabelPrototype() — Method in class RadioList
Returns item label HTML element template.
- SelectBox::getPrompt() — Method in class SelectBox
Returns first prompt item?
- SelectBox::getControl() — Method in class SelectBox
Generates control's HTML element.
- SubmitButton::getValidationScope() — Method in class SubmitButton
Gets the validation scope.
- SubmitButton::getControl() — Method in class SubmitButton
Generates control's HTML element.
- TextArea::getControl() — Method in class TextArea
Generates control's HTML element.
- TextBase::getValue() — Method in class TextBase
Returns control's value.
- TextBase::getEmptyValue() — Method in class TextBase
Returns the special value which is treated as empty string.
- TextBase::getControl() — Method in class TextBase
Generates control's HTML element.
- TextBase::getRenderedValue() — Method in class TextBase
- TextInput::getControl() — Method in class TextInput
Generates control's HTML element.
- UploadControl::getHtmlName() — Method in class UploadControl
Returns HTML name of control.
- Form::getForm() — Method in class Form
Returns form.
- Form::getAction() — Method in class Form
Returns form's action.
- Form::getMethod() — Method in class Form
Returns form's method.
- Form::getGroups() — Method in class Form
Returns all defined groups.
- Form::getGroup() — Method in class Form
Returns the specified group.
- Form::getTranslator() — Method in class Form
Returns translate adapter.
- Form::getHttpData() — Method in class Form
Returns submitted HTTP data.
- Form::getErrors() — Method in class Form
Returns all validation errors.
- Form::getOwnErrors() — Method in class Form
Returns form's validation errors.
- Form::getElementPrototype() — Method in class Form
Returns form's HTML element template.
- Form::getRenderer() — Method in class Form
Returns form renderer.
- Form::getToggles() — Method in class Form
- Helpers::generateHtmlName() — Method in class Helpers
Converts control name to HTML name.
- IControl::getValue() — Method in class IControl
Returns control's value.
- IControl::getErrors() — Method in class IControl
Returns errors corresponding to control.
- ISubmitterControl::getValidationScope() — Method in class ISubmitterControl
Gets the validation scope. Clicking the button validates only the controls within the specified scope.
- DefaultFormRenderer::getWrapper() — Method in class DefaultFormRenderer
- DefaultFormRenderer::getValue() — Method in class DefaultFormRenderer
- Rules::getToggles() — Method in class Rules
- Rules::getToggleStates() — Method in class Rules
- Rules::getIterator() — Method in class Rules
Iterates over complete ruleset.
H
- $ BaseControl#htmlId — Property in class BaseControl
- $ BaseControl#htmlName — Property in class BaseControl
- BaseControl::hasErrors() — Method in class BaseControl
- HiddenField — Class in namespace Nette\Forms\Controls
Hidden form control used to store a non-displayed value.
- $ Form#httpRequest — Property in class Form
- Form::hasErrors() — Method in class Form
- Helpers — Class in namespace Nette\Forms
Forms helpers.
I
- FormMacros::install() — Method in class FormMacros
- Container::isValid() — Method in class Container
Is form valid?
- $ BaseControl#idMask — Property in class BaseControl
- BaseControl::isFilled() — Method in class BaseControl
Is control filled?
- BaseControl::isDisabled() — Method in class BaseControl
Is control disabled?
- BaseControl::isOmitted() — Method in class BaseControl
Is control value excluded from $form->getValues() result?
- BaseControl::isRequired() — Method in class BaseControl
Is control mandatory?
- Button::isFilled() — Method in class Button
Is button pressed?
- Checkbox::isFilled() — Method in class Checkbox
Is control filled?
- $ CheckboxList#itemLabel — Property in class CheckboxList
- $ CheckboxList#itemLabelPrototype — Property in class CheckboxList
- $ ChoiceControl#items — Property in class ChoiceControl
- ChoiceControl::isFilled() — Method in class ChoiceControl
Is any item selected?
- ImageButton — Class in namespace Nette\Forms\Controls
Submittable image button form control.
- $ MultiChoiceControl#items — Property in class MultiChoiceControl
- MultiChoiceControl::isFilled() — Method in class MultiChoiceControl
Is any item selected?
- $ RadioList#itemLabel — Property in class RadioList
- $ RadioList#itemLabelPrototype — Property in class RadioList
- SelectBox::isOk() — Method in class SelectBox
- SubmitButton::isSubmittedBy() — Method in class SubmitButton
Tells if the form was submitted by this button.
- UploadControl::isFilled() — Method in class UploadControl
Has been any file uploaded?
- UploadControl::isOk() — Method in class UploadControl
Have been all files succesfully uploaded?
- Form::isMethod() — Method in class Form
Checks if the request method is the given one.
- Form::isAnchored() — Method in class Form
Tells if the form is anchored.
- Form::isSubmitted() — Method in class Form
Tells if the form was submitted.
- Form::isSuccess() — Method in class Form
Tells if the form was submitted and successfully validated.
- IControl — Class in namespace Nette\Forms
Defines method that must be implemented to allow a component to act like a form control.
- IControl::isOmitted() — Method in class IControl
Is control value excluded from $form->getValues() result?
- IFormRenderer — Class in namespace Nette\Forms
Defines method that must implement form renderer.
- ISubmitterControl — Class in namespace Nette\Forms
Defines method that must be implemented to allow a control to submit web form.
- $ Rule#isNegative — Property in class Rule
- Rules::isRequired() — Method in class Rules
Is control mandatory?
- Rules::isOptional() — Method in class Rules
L
- $ BaseControl#label — Property in class BaseControl
- $ BaseControl#labelPrototype — Property in class BaseControl
- BaseControl::loadHttpData() — Method in class BaseControl
Loads HTTP data.
- ChoiceControl::loadHttpData() — Method in class ChoiceControl
Loads HTTP data.
- CsrfProtection::loadHttpData() — Method in class CsrfProtection
Loads HTTP data.
- ImageButton::loadHttpData() — Method in class ImageButton
Loads HTTP data.
- MultiChoiceControl::loadHttpData() — Method in class MultiChoiceControl
Loads HTTP data.
- SubmitButton::loadHttpData() — Method in class SubmitButton
Loads HTTP data.
- TextInput::loadHttpData() — Method in class TextInput
Loads HTTP data.
- UploadControl::loadHttpData() — Method in class UploadControl
Loads HTTP data.
M
- FormMacros::macroForm() — Method in class FormMacros
{form ...}
- FormMacros::macroFormContainer() — Method in class FormMacros
{formContainer ...}
- FormMacros::macroLabel() — Method in class FormMacros
{label ...}
- FormMacros::macroLabelEnd() — Method in class FormMacros
- {/label}
- FormMacros::macroInput() — Method in class FormMacros
{input ...}
- FormMacros::macroNameAttr() — Method in class FormMacros
- FormMacros::macroName() — Method in class FormMacros
- FormMacros::macroNameEnd() — Method in class FormMacros
- FormMacros::macroInputError() — Method in class FormMacros
{inputError ...}
- MultiChoiceControl — Class in namespace Nette\Forms\Controls
Choice control that allows multiple items selection.
- MultiSelectBox — Class in namespace Nette\Forms\Controls
Select box control that allows multiple items selection.
- $ Form#method — Property in class Form
- $ Rule#message — Property in class Rule
- $ Validator#messages — Property in class Validator
O
- $ Container#onValidate — Property in class Container
- Container::offsetSet() — Method in class Container
Adds the component to the container.
- Container::offsetGet() — Method in class Container
Returns component specified by name. Throws exception if component doesn't exist.
- Container::offsetExists() — Method in class Container
Does component specified by name exists?
- Container::offsetUnset() — Method in class Container
Removes component from the container.
- $ BaseControl#omitted — Property in class BaseControl
- $ BaseControl#options — Property in class BaseControl
- $ SubmitButton#onClick — Property in class SubmitButton
- $ SubmitButton#onInvalidClick — Property in class SubmitButton
- $ Form#onSuccess — Property in class Form
- $ Form#onError — Property in class Form
- $ Form#onSubmit — Property in class Form
- $ Form#onRender — Property in class Form
- $ Form#ownErrors — Property in class Form
R
- FormMacros::renderFormBegin() — Method in class FormMacros
- FormMacros::renderFormEnd() — Method in class FormMacros
- Runtime — Class in namespace Nette\Bridges\FormsLatte
Runtime helpers for Latte.
- Runtime::renderFormBegin() — Method in class Runtime
Renders form begin.
- Runtime::renderFormEnd() — Method in class Runtime
Renders form end.
- ControlGroup::remove() — Method in class ControlGroup
- ControlGroup::removeOrphans() — Method in class ControlGroup
- $ BaseControl#required — Property in class BaseControl
- RadioList — Class in namespace Nette\Forms\Controls
Set of radio button controls.
- $ TextBase#rawValue — Property in class TextBase
- $ Form#renderer — Property in class Form
- Form::removeGroup() — Method in class Form
Removes fieldset group from form.
- Form::reset() — Method in class Form
Resets form.
- Form::receiveHttpData() — Method in class Form
Internal: returns submitted HTTP data or null when form was not submitted.
- Form::render() — Method in class Form
Renders form.
- IFormRenderer::render() — Method in class IFormRenderer
Provides complete form rendering.
- DefaultFormRenderer::render() — Method in class DefaultFormRenderer
Provides complete form rendering.
- DefaultFormRenderer::renderBegin() — Method in class DefaultFormRenderer
Renders form begin.
- DefaultFormRenderer::renderEnd() — Method in class DefaultFormRenderer
Renders form end.
- DefaultFormRenderer::renderErrors() — Method in class DefaultFormRenderer
Renders validation errors (per form or per control).
- DefaultFormRenderer::renderBody() — Method in class DefaultFormRenderer
Renders form body.
- DefaultFormRenderer::renderControls() — Method in class DefaultFormRenderer
Renders group of controls.
- DefaultFormRenderer::renderPair() — Method in class DefaultFormRenderer
Renders single visual row.
- DefaultFormRenderer::renderPairMulti() — Method in class DefaultFormRenderer
Renders single visual row of multiple controls.
- DefaultFormRenderer::renderLabel() — Method in class DefaultFormRenderer
Renders 'label' part of visual row of controls.
- DefaultFormRenderer::renderControl() — Method in class DefaultFormRenderer
Renders 'control' part of visual row of controls.
- Rule — Class in namespace Nette\Forms
Single validation rule or condition represented as value object.
- Rules — Class in namespace Nette\Forms
List of validation & condition rules.
- Rules::reset() — Method in class Rules
Clear all validation rules.
S
- Container::setDefaults() — Method in class Container
Fill-in with default values.
- Container::setValues() — Method in class Container
Fill-in with values.
- Container::setCurrentGroup() — Method in class Container
- ControlGroup::setOption() — Method in class ControlGroup
Sets user-specific option.
- BaseControl::setValue() — Method in class BaseControl
Sets control's value.
- BaseControl::setDefaultValue() — Method in class BaseControl
Sets control's default value.
- BaseControl::setDisabled() — Method in class BaseControl
Disables or enables control.
- BaseControl::setOmitted() — Method in class BaseControl
Sets whether control value is excluded from $form->getValues() result.
- BaseControl::setHtmlId() — Method in class BaseControl
Changes control's HTML id.
- BaseControl::setHtmlAttribute() — Method in class BaseControl
Changes control's HTML attribute.
- BaseControl::setAttribute() — Method in class BaseControl
Alias for setHtmlAttribute()
- BaseControl::setTranslator() — Method in class BaseControl
Sets translate adapter.
- BaseControl::setRequired() — Method in class BaseControl
Makes control mandatory.
- BaseControl::setOption() — Method in class BaseControl
Sets user-specific option.
- Checkbox::setValue() — Method in class Checkbox
Sets control's value.
- $ CheckboxList#separator — Property in class CheckboxList
- $ CheckboxList#separatorPrototype — Property in class CheckboxList
- $ ChoiceControl#selectedItem — Property in class ChoiceControl
- ChoiceControl::setValue() — Method in class ChoiceControl
Sets selected item (by key).
- ChoiceControl::setItems() — Method in class ChoiceControl
Sets items from which to choose.
- ChoiceControl::setDisabled() — Method in class ChoiceControl
Disables or enables control or items.
- $ CsrfProtection#session — Property in class CsrfProtection
- CsrfProtection::setValue() — Method in class CsrfProtection
- HiddenField::setValue() — Method in class HiddenField
Sets control's value.
- $ MultiChoiceControl#selectedItems — Property in class MultiChoiceControl
- MultiChoiceControl::setValue() — Method in class MultiChoiceControl
Sets selected items (by keys).
- MultiChoiceControl::setItems() — Method in class MultiChoiceControl
Sets items from which to choose.
- MultiChoiceControl::setDisabled() — Method in class MultiChoiceControl
Disables or enables control or items.
- MultiSelectBox::setItems() — Method in class MultiSelectBox
Sets options and option groups from which to choose.
- $ RadioList#separator — Property in class RadioList
- $ RadioList#separatorPrototype — Property in class RadioList
- SelectBox — Class in namespace Nette\Forms\Controls
Select box control that allows single item selection.
- SelectBox::setPrompt() — Method in class SelectBox
Sets first prompt item in select box.
- SelectBox::setItems() — Method in class SelectBox
Sets options and option groups from which to choose.
- SubmitButton — Class in namespace Nette\Forms\Controls
Submittable button control.
- $ SubmitButton#submittedBy — Property in class SubmitButton
- SubmitButton::setValidationScope() — Method in class SubmitButton
Sets the validation scope. Clicking the button validates only the controls within the specified scope.
- TextBase::setValue() — Method in class TextBase
Sets control's value.
- TextBase::setNullable() — Method in class TextBase
Sets whether getValue() returns null instead of empty string.
- TextBase::setEmptyValue() — Method in class TextBase
Sets the special value which is treated as empty string.
- TextBase::setMaxLength() — Method in class TextBase
Sets the maximum number of allowed characters.
- TextInput::setHtmlType() — Method in class TextInput
Changes control's type attribute.
- TextInput::setType() — Method in class TextInput
Alias for setHtmlType()
- UploadControl::setValue() — Method in class UploadControl
- Form::setAction() — Method in class Form
Sets form's action.
- Form::setMethod() — Method in class Form
Sets form's method GET or POST.
- Form::setTranslator() — Method in class Form
Sets translate adapter.
- Form::setSubmittedBy() — Method in class Form
Sets the submittor control.
- Form::setRenderer() — Method in class Form
Sets form renderer.
- IControl::setValue() — Method in class IControl
Sets control's value.
- Rules::setRequired() — Method in class Rules
Makes control mandatory.
T
- BaseControl::translate() — Method in class BaseControl
Returns translated string.
- TextArea — Class in namespace Nette\Forms\Controls
Multiline text input control.
- TextBase — Class in namespace Nette\Forms\Controls
Implements the basic functionality common to text input controls.
- TextInput — Class in namespace Nette\Forms\Controls
Single line text input control.
- Rules::toggle() — Method in class Rules
Toggles HTML element visibility.
U
- UploadControl — Class in namespace Nette\Forms\Controls
Text box and browse button that allow users to select a file to upload to the server.
V
- $ Container#values — Property in class Container
- Container::validate() — Method in class Container
Performs the server side validation.
- $ BaseControl#value — Property in class BaseControl
- BaseControl::validate() — Method in class BaseControl
- CsrfProtection::validateCsrf() — Method in class CsrfProtection
- Form::validateParent() — Method in class Form
- Form::validate() — Method in class Form
Performs the server side validation.
- Form::validateMaxPostSize() — Method in class Form
- IControl::validate() — Method in class IControl
- $ Rule#validator — Property in class Rule
- Rules::validate() — Method in class Rules
Validates against ruleset.
- Rules::validateRule() — Method in class Rules
Validates single rule.
- Validator — Class in namespace Nette\Forms
Common validators.
- Validator::validateEqual() — Method in class Validator
Is control's value equal with second parameter?
- Validator::validateNotEqual() — Method in class Validator
Is control's value not equal with second parameter?
- Validator::validateStatic() — Method in class Validator
Returns argument.
- Validator::validateFilled() — Method in class Validator
Is control filled?
- Validator::validateBlank() — Method in class Validator
Is control not filled?
- Validator::validateValid() — Method in class Validator
Is control valid?
- Validator::validateRange() — Method in class Validator
Is a control's value number in specified range?
- Validator::validateMin() — Method in class Validator
Is a control's value number greater than or equal to the specified minimum?
- Validator::validateMax() — Method in class Validator
Is a control's value number less than or equal to the specified maximum?
- Validator::validateLength() — Method in class Validator
Count/length validator. Range is array, min and max length pair.
- Validator::validateMinLength() — Method in class Validator
Has control's value minimal count/length?
- Validator::validateMaxLength() — Method in class Validator
Is control's value count/length in limit?
- Validator::validateSubmitted() — Method in class Validator
Has been button pressed?
- Validator::validateEmail() — Method in class Validator
Is control's value valid email address?
- Validator::validateUrl() — Method in class Validator
Is control's value valid URL?
- Validator::validatePattern() — Method in class Validator
Does the control's value match the regular expression? Case-sensitive to comply with the HTML5 pattern attribute behaviour
- Validator::validatePatternCaseInsensitive() — Method in class Validator
- Validator::validateInteger() — Method in class Validator
Is a control's value decimal number?
- Validator::validateFloat() — Method in class Validator
Is a control's value float number?
- Validator::validateFileSize() — Method in class Validator
Is file size in limit?
- Validator::validateMimeType() — Method in class Validator
Has file specified mime type?
- Validator::validateImage() — Method in class Validator
Is file image?
W
- $ DefaultFormRenderer#wrappers — Property in class DefaultFormRenderer
/--- form.container
_
- Container::__call() — Method in class Container
- Container::__clone() — Method in class Container
Prevents cloning.
- ControlGroup::__construct() — Method in class ControlGroup
- BaseControl::__construct() — Method in class BaseControl
- BaseControl::__call() — Method in class BaseControl
- Button::__construct() — Method in class Button
- Checkbox::__construct() — Method in class Checkbox
- CheckboxList::__construct() — Method in class CheckboxList
- ChoiceControl::__construct() — Method in class ChoiceControl
- CsrfProtection::__construct() — Method in class CsrfProtection
- HiddenField::__construct() — Method in class HiddenField
- ImageButton::__construct() — Method in class ImageButton
- MultiChoiceControl::__construct() — Method in class MultiChoiceControl
- MultiSelectBox::__construct() — Method in class MultiSelectBox
- RadioList::__construct() — Method in class RadioList
- SelectBox::__construct() — Method in class SelectBox
- SubmitButton::__construct() — Method in class SubmitButton
- TextArea::__construct() — Method in class TextArea
- TextInput::__construct() — Method in class TextInput
- UploadControl::__construct() — Method in class UploadControl
- Form::__construct() — Method in class Form
Form constructor.
- Form::__toString() — Method in class Form
Renders form to string.
- Rules::__construct() — Method in class Rules