Row
class Row
Properties
int | $number | 行号 | |
protected array | $data | 行数据 | |
protected string | $pkName | 主键名称 |
Methods
__construct(int $number, array $data, string $pk_name)
创建 Row
mixed
getKey()
获取主键的值
array
model()
获取当前行的值
__get($attr)
No description
string|null
output(mixed $value)
输出列的值
Details
at line 37
__construct(int $number, array $data, string $pk_name)
创建 Row
at line 48
mixed
getKey()
获取主键的值
at line 57
array
model()
获取当前行的值
at line 63
__get($attr)
No description
at line 74
string|Row
column(string $name, mixed $value = null)
设置或者获取当前列的值
at line 96
protected string|null
output(mixed $value)
输出列的值