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.

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2013 eZ Systems AS (except where otherwise noted). All rights reserved.