Reader

package

Default

Methods

Reader constructor.

__construct(\SPSS\Buffer $buffer)

Arguments

$buffer

\SPSS\Buffer

fromFile

fromFile(string $file): \SPSS\Sav\Reader
static

Arguments

$file

string

Response

\SPSS\Sav\Reader

fromString

fromString(string $str): \SPSS\Sav\Reader
static

Arguments

$str

string

Response

\SPSS\Sav\Reader

getCase

getCase(): integer

Response

integer

getCaseNumber

getCaseNumber(): integer

Response

integer

read

read(): self

Response

self

readBody

readBody(): self

Response

self

readCase

readCase(): boolean

Response

boolean

readData

readData(): self

Response

self

readHeader

readHeader(): self

Response

self

Properties

header

header :\SPSS\Sav\Record\Header

variables

variables :array<mixed,\SPSS\Sav\Record\Variable>
var

Type(s)

array<mixed,\SPSS\Sav\Record\Variable>

valueLabels

valueLabels :array<mixed,\SPSS\Sav\Record\ValueLabel>
var

Type(s)

array<mixed,\SPSS\Sav\Record\ValueLabel>

documents

documents :array
var

Type(s)

array

info

info :array<mixed,\SPSS\Sav\Record\Info>
var

Type(s)

array<mixed,\SPSS\Sav\Record\Info>

data

data :array
var

Type(s)

array

lastCase

lastCase :integer
var

Type(s)

integer

record

record :\SPSS\Sav\record
var

Type(s)

\SPSS\Sav\record

_buffer

_buffer :\SPSS\Buffer
var

Type(s)

\SPSS\Buffer