Path

7x / documentation / ez publish / technical manual / 4.x / reference / objects / ezrangeoption


Caution: This documentation is for eZ Publish legacy, from version 3.x to 6.x.
For 5.x documentation covering Platform see eZ Documentation Center, for difference between legacy and Platform see 5.x Architecture overview.

ezrangeoption

Summary

Contains information about a range of options.

Persistent

No.

Attributes

Attribute

Type

Static*

Description

name

string

Yes.

The name of the range option (for example "Shoe size").

start_value

string

Yes.

The start value (for example "32").

stop_value

string

Yes.

The stop value (for example "40").

step_value

string

Yes.

The step value (for example "1").

option_list

array

Yes.

The generated options as an array of hashes where each hash consists of the following elements:

Attribute

Type

Description

id

integer

The ID of the option.

value

string

The option value.

additional_price

integer

The additional price (will always be 0).

is_default

boolean

TRUE if it is the default option, FALSE otherwise.

* Indicates whether the attribute provides a pre-fetched value or if it needs to be computed upon request.

Balazs Halasy (27/04/2005 12:26 pm)

Svitlana Shatokhina (13/02/2007 3:14 pm)

Balazs Halasy, Svitlana Shatokhina


Comments

There are no comments.