ezoption

Summary

Contains information about a collection of options.

Persistent

No.

Attributes

Attribute

Type

Static*

Description

name

string

Yes.

The name of the option (for example "Color").

option_list

array

Yes.

An array of hashes where each hash consits of the following elements:

Attribute

Type

Description

id

integer

The ID number of the option.

value

string

The option text (for example "Red", "Green", etc.).

additional_price

string

The addition price.

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.