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.

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.

Balazs Halasy (27/04/2005 11:27 am)

Svitlana Shatokhina (13/02/2007 2:49 pm)

Balazs Halasy, Svitlana Shatokhina


Comments

There are no comments.