ValueLabel

Extends\SPSS\Sav\Record

The value label records documented in this section are used for numeric and short string variables only.

Long string variables may have value labels, but their value labels are recorded using a different record type.

see
package

Default

Methods

Record constructor.

__construct(array $data = array())
inherited

Arguments

$data

array

create

create(array $data = array()): static
inheritedstatic

Arguments

$data

array

Response

static

fill

fill(\SPSS\Buffer $buffer,array $data = array()): static
inheritedstatic

Arguments

$buffer

\SPSS\Buffer

$data

array

Response

static

read

read(\SPSS\Buffer $buffer)

Arguments

$buffer

\SPSS\Buffer

setVariables

setVariables(array $variables)

Arguments

$variables

array

toArray

toArray(): array
inherited

Response

array

write

write(\SPSS\Buffer $buffer)

Arguments

$buffer

\SPSS\Buffer

Constants

TYPE

TYPE

LABEL_MAX_LENGTH

LABEL_MAX_LENGTH

Properties

labels

labels :array
var

Type(s)

array

A list of dictionary indexes of variables to which to apply the value labels String variables wider than 8 bytes may not be specified in this list

indexes :array
var

A list of dictionary indexes of variables to which to apply the value labels String variables wider than 8 bytes may not be specified in this list

Type(s)

array

variables

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

Type(s)

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