# Row

class Row implements IteratorAggregate, Countable

## Constants

KEY_BASED | output type
VALUE_BASED |

## Methods

__construct(array $data, array|null $standart = null, Closure|null $callback = null)

No description

string
generate(int $type = self::VALUE_BASED)

Make a content based on \SLiMS\Csv\Columns

Columns
all()

Get all columns data

void
add(string $columnName, string $columnValue)

Add new column data

void
registerColumnModifier(string $columnName, Closure $callback)

Modify column content based on user function

Row
setStandart(array|string $key, string $value = '')

Set row standart

toArray()

No description

ArrayIterator
getIterator()

No description

int
count()

No description

## Details

###
at line 54
`__construct(array $data, array|null $standart = null, Closure|null $callback = null)`

No description

#### Parameters

array | $data |
array|null | $standart |
Closure|null | $callback |

###
at line 67
`string generate(int $type = self::VALUE_BASED)`

Make a content based on \SLiMS\Csv\Columns

#### Parameters

int | $type |

#### Return Value

string |

###
at line 105
`Columns all()`

Get all columns data

#### Return Value

Columns |

###
at line 117
`void add(string $columnName, string $columnValue)`

Add new column data

#### Parameters

string | $columnName |
string | $columnValue |

#### Return Value

void |

###
at line 130
`void registerColumnModifier(string $columnName, Closure $callback)`

Modify column content based on user function

#### Parameters

string | $columnName |
Closure | $callback |

#### Return Value

void |

###
at line 152
`Row setStandart(array|string $key, string $value = '')`

Set row standart

#### Parameters

array|string | $key |
string | $value |

#### Return Value

Row |

###
at line 159
`toArray()`

No description

###
at line 164
`ArrayIterator getIterator()`

No description

#### Return Value

ArrayIterator |

###
at line 169
`int count()`

No description

#### Return Value

int |