Property | Type | Description | |
---|---|---|---|
$field_associations | array | Field associations grid_column => model_field | |
$grid | Grid | ||
$model | Model | ||
$owner | Grid | ||
$type_associations | array | Field type associations model_field_type => grid_column_type/formatter |
Method | Description | |
---|---|---|
addTypeAssociation ( string $k, string $v ) | Adds additional type association. | |
getFieldType ( Field $field ) : string | Returns grid column type associated with model field. | |
importField ( string $field ) : void | Grid | Controller_Grid_Format | Import one field from model into grid. | |
importFields ( Model $model, array | string | boolean $fields = UNDEFINED ) : void | $this | Import model fields in form. | |
setActualFields ( array | string | boolean $fields ) | Import model fields in grid. |
public addTypeAssociation ( string $k, string $v ) | ||
$k | string | model field type |
$v | string | grid columnt type |
public getFieldType ( Field $field ) : string | ||
$field | Field | |
return | string |
public importField ( string $field ) : void | Grid | Controller_Grid_Format | ||
$field | string | |
return | void | Grid | Controller_Grid_Format |
public array $field_associations | ||
return | array |
public array $type_associations | ||
return | array |