Re: DataObjectsFormBuilder - tripleLinks

From: Date: Tue, 16 Nov 2004 22:51:17 +0000
Subject: Re: DataObjectsFormBuilder - tripleLinks
References: 1 2 3  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-15577@lists.php.net to get a copy of this message
okay: in the file do_user.php i put this:
var $fb_crossLinks = array(    array('table' => 'user_to_hobby_a', 'fromField' => 'user_id', 'toField' => 'hobby_a_id'),
                                                        array('table' => 'user_to_hobby_b', 'fromField' => 'user_id', 'toField' => 'hobby_b_id')
                                            );
////////////////////////////////////////////////////////////////////////////// in do_user_to_hobby.php i put nothing in and in do_hobby_(a/b).php i put in: var $fb_linkDisplayFields = array('name_de'); //<- this field should be displayed behind the checkboxes ////////////////////////////////////////////////////////////////////////////// also i have updated the link.ini file: [user_to_hobby_a] user_id = user:id hobby_a_id = hobby_a:id [user_to_hobby_b] user_id = user:id hobby_b_id = hobby_b:id anyway nothing happens even if i dont use 'toField' and 'fromField'

« previous php.pear.general (#15577) next »