Share » Forums » Developer » Is there a datatype for "Link to...

Is there a datatype for "Link to Other Object"?

Is there a datatype for "Link to Other Object"?

Monday 12 May 2003 12:25:22 pm - 3 replies

Author Message

Paul Borgermans

Tuesday 13 May 2003 2:13:11 am

There is a object relation, but this works for one relation at a time.

For this and other attribute types (like URL) it would be logical to have the option to specify multiple items (like the general related objects do).

Paul

eZ Publish, eZ Find, Solr expert consulting and training
http://twitter.com/paulborgermans

Sophi Italy

Tuesday 13 May 2003 8:28:40 am

Thanks Paul.

Where can I learn more about "object relation"? I tried to google-search the site ez.no and did not have much luck.

Do I understand you correctly that (a) I can currently do:
class A
the_best_B: B
end

but cannot do:
class A
all_good_bs: Set of Bs
end

krish harry

Saturday 24 May 2003 12:34:51 am

class A
name: String
good_bs: Set of Bs
bad_bs: Set of Bs
end

To achive the above couldn't you make another attribute in Class B named "rating" and give enumerated values like "Good", "Bad" and "Best".

Now you are anyways getting list of B's . But with this attribute you can also distiguish between those B's i.e. they are good or bad or best.

I dont know why this idea didn't struct you all ? Or am i completly wrong?

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu