Forums / Developer / "relations" in definition function ... HOW ?!
Selmah Maxim
Saturday 09 August 2003 8:26:31 am
I need to make multi select or relations .. I found this in ezproductcollectionitem.php .. but I cann`t figure it out how to use .. I need some document about this ..plz !
"relations" => array( "contentobject_id" => array( "class" => "ezcontentobject", "field" => "id" ), "productcollection_id" => array( "class" => "ezproductcollection", "field" => "id" ) ),
Piotrek KaraĆ
Thursday 26 November 2009 10:36:12 pm
Wow! This one has been awaiting response for a looong time ;)
Let's rephrase it: Is there any reason to use 'relations' key of the definition of a PHP class inhering from eZPersistentObject other than being able to insert NULL value in case of no relation?
Cheers,Piotrek
-- Company: mediaSELF Sp. z o.o., http://www.mediaself.pl eZ references: http://ez.no/partners/worldwide_partners/mediaself eZ certified developer: http://ez.no/certification/verify/272585 eZ blog: http://ez.ryba.eu