Property | Type | Description | |
---|---|---|---|
$inputWidget | can be null (default) or select2 | ||
$skipVirtualAttributes | wheter to skip non-existing columns in relation grid |
Method | Description | |
---|---|---|
activeField ( $attribute ) : null | string | Formatter for relation form inputs. | |
attributeFormat ( $attribute ) : null | string | Formatter for detail view relation attributes. | |
columnFormat ( $attribute, $model ) : null | string | Formatter for relation grid columns. | |
relationGrid ( $name, $relation, boolean $showAllRecords = false ) : mixed | string | Renders a grid view for a given relation. |
public activeField ( $attribute ) : null | string | ||
return | null | string |
public attributeFormat ( $attribute ) : null | string | ||
return | null | string |
public columnFormat ( $attribute, $model ) : null | string | ||
$model | ActiveRecord | |
return | null | string |