Forums / General / Relating to different classes

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

Relating to different classes

Author Message

Rinze Cats

Monday 05 April 2004 8:46:10 am

Hello,

I have created a custom article class. I want to add a field to this class, allowing a user to select a value from a dropdown box when creating an instance of this class.

The available values in the dropdownbox however, are not static. I want the dropdownbox to provide a list of all instances of a certain class. Is this possible? It is for a purely administrative use to relate various articles by means of an edition number (and maybe add some extra information besides the edition number).

I don't want to change the class definition everytime a new edition is necessary!

thanx and greetz
rinze

Rinze Cats

Wednesday 07 April 2004 2:24:13 am

In addition, is it possible to embed a class in another class, or to create custom datatypes?