Property | Type | Description | |
---|---|---|---|
$autoGenerateColumns | calculate the number of columns automatically based on count of attributes configured in the Form widget. Columns will be created maximum upto the [[GRID_WIDTH]]. | ||
$columnOptions | the HTML attributes for the grid columns. Applicable only if [[columns]] is greater than 1. | ||
$columnSize | the bootstrap device size for rendering each grid column. Defaults to [[SIZE_SMALL]]. | ||
$columns | the number of columns in which to split the fields horizontally. If not set, defaults to 1 column. | ||
$contentAfter | content to display after the generated form fields. This is not HTML encoded. | ||
$contentBefore | content to display before the generated form fields. This is not HTML encoded. | ||
$model | the data model used for the form. | ||
$options | the HTML attributes for the field/attributes container. The following options are additionally recognized: - tag: _string_, the HTML tag for the container. Defaults to fieldset. | ||
$rowOptions | the HTML attributes for the rows. Applicable only if [[columns]] is greater than 1. |
Method | Description | |
---|---|---|
init ( ) | ||
run ( ) |
Method | Description | |
---|---|---|
beginTag ( string $tag, array $options = [], boolean $skip = false ) : string | Begins a tag markup based on orientation. | |
endTag ( string $tag, boolean $skip = false ) : string | Ends a tag markup based on orientation. | |
getSubAttributesContent ( array $settings, string $index ) : string | Gets sub attribute markup content. | |
initOptions ( ) | Initializes the widget options | |
parseInput ( string $attribute, string $settings, integer $index ) : string | Parses the input markup based on type. | |
raise ( string $event = '', string $attribute = '', integer | string $index = '', array $data = [] ) | Triggers an ActiveFormEvent. | |
registerAssets ( ) | Registers widget assets | |
renderFieldSet ( ) : string | Renders the field set. | |
renderSubAttributes ( array $settings, string $index ) : string | Render sub attributes. |
protected renderFieldSet ( ) : string | ||
return | string |
public $autoGenerateColumns |
public $columnOptions |
public $columnSize |
public $columns |
public $contentAfter |
public $contentBefore |
public $options |