Packages

  • Nette
    • Application
    • Caching
    • Collections
    • Config
    • Forms
    • IO
    • Loaders
    • Mail
    • Reflection
    • Security
    • Templates
    • Web
  • None
  • PHP

Classes

  • NButton
  • NCheckbox
  • NConventionalRenderer
  • NFileUpload
  • NForm
  • NFormContainer
  • NFormGroup
  • NHiddenField
  • NImageButton
  • NInstantClientScript
  • NMultiSelectBox
  • NRadioList
  • NRule
  • NRules
  • NSelectBox
  • NSubmitButton
  • NTextArea
  • NTextBase
  • NTextInput

Interfaces

  • IFormControl
  • IFormRenderer
  • INamingContainer
  • ISubmitterControl
  • Overview
  • Package
  • Class
  • Tree
  • Other releases

Class NFormGroup

A user group of form controls.

NObject
Extended by NFormGroup
Package: Nette\Forms
Author: David Grudl
Located at Forms/FormGroup.php
Methods summary
public
# __construct( )
public NFormGroup
# add( )

Returns

NFormGroup
provides a fluent interface
public array
# getControls( )

Returns

array
IFormControl
public NFormGroup
# setOption( string $key, mixed $value )

Sets user-specific option. Options recognized by ConventionalRenderer

  • 'label' - textual or Html object label
  • 'visual' - indicates visual group
  • 'container' - container as Html object
  • 'description' - textual or Html object description
  • 'embedNext' - describes how render next group

Sets user-specific option. Options recognized by ConventionalRenderer

  • 'label' - textual or Html object label
  • 'visual' - indicates visual group
  • 'container' - container as Html object
  • 'description' - textual or Html object description
  • 'embedNext' - describes how render next group

Parameters

$key
string
key
$value
mixed
value

Returns

NFormGroup
provides a fluent interface
final public mixed
# getOption( string $key, mixed $default = NULL )

Returns user-specific option.

Returns user-specific option.

Parameters

$key
string
key
$default
mixed
default value

Returns

mixed
final public array
# getOptions( )

Returns user-specific options.

Returns user-specific options.

Returns

array
Methods inherited from NObject
__call(), __callStatic(), __get(), __isset(), __set(), __unset(), extensionMethod(), getReflection()
Properties summary
protected SplObjectStorage $controls
#
Nette Framework 0.9.7 (for PHP 5.2) API documentation generated by ApiGen 2.3.0