RE: [PEAR] DB_DO_FB and fields in crossTables
| From: | Sönke Ruempler | Date: | Wed, 01 Dec 2004 08:11:11 +0000 |
| Subject: | RE: [PEAR] DB_DO_FB and fields in crossTables | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-34683@lists.php.net to get a copy of this message | ||
Markus Wolff wrote on Tuesday, November 30, 2004 9:54 AM:
> Sönke Ruempler wrote:
>> Another one: ATM I don't have the possibility to restrict the
>> entries that are shown in the crossLinks. Access from the outside to
>> the crossTable DO would be great. Any idea?
>
> Maybe we could introduce another callback method, like...
>
> fb_getCrosslinkValues($crosslinkField)
>
> ...which is used, if present, to retrieve a list of crosslink values -
> but then we'd also need an fb_setCrosslinkValues, IMHO, to make sure
> we can also have a custom mechanism to write stuff back.
I'd like to get the DataObject of the cross-table in the callback function.
Another useable callback would be method that gets all deleted / added
crossLinks (in my case if a crosslink is added, some additional data should
be inserted into the cross-tab. Imho a reference to the current cross-link
DO would make sense (the callback would called after every insert / before
every delete). This should be easily done based on my cross-link patch ;-)
--
soenke