Record
- Full name:
\MammothPHP\WoollyM\Record - This class implements:
\ArrayAccess,\Countable,\Iterator
Properties
dataFrame
php
public \WeakReference $dataFramerecordKey
php
public int|string $recordKeyrecordArray
php
protected array $recordArrayMethods
__construct
php
public __construct(\MammothPHP\WoollyM\DataFrame $dataFrame, int|string $recordKey, array $recordArray): mixedParameters:
| Parameter | Type | Description |
|---|---|---|
$dataFrame | \MammothPHP\WoollyM\DataFrame | |
$recordKey | int|string | |
$recordArray | array |
toArray
php
public toArray(): arraytoContextualArray
php
public toContextualArray(): arrayhasColumn
php
public hasColumn(string $columnName): boolParameters:
| Parameter | Type | Description |
|---|---|---|
$columnName | string |
getDataFrame
php
public getDataFrame(): ?\MammothPHP\WoollyM\DataFramecount
php
public count(): intoffsetExists
php
public offsetExists(mixed $offset): boolParameters:
| Parameter | Type | Description |
|---|---|---|
$offset | mixed |
offsetGet
php
public offsetGet(mixed $offset): mixedParameters:
| Parameter | Type | Description |
|---|---|---|
$offset | mixed |
offsetSet
php
public offsetSet(mixed $offset, mixed $value): voidParameters:
| Parameter | Type | Description |
|---|---|---|
$offset | mixed | |
$value | mixed |
offsetUnset
php
public offsetUnset(mixed $offset): voidParameters:
| Parameter | Type | Description |
|---|---|---|
$offset | mixed |
rewind
php
public rewind(): voidcurrent
php
public current(): mixedkey
php
public key(): ?stringnext
php
public next(): voidvalid
php
public valid(): boolAutomatically generated on 2024-07-03