For Programmers: Free Programming Magazines  


Home > Archive > PHP Pear > March 2006 > Re: [PEAR] RE:Problem with DBDOFB and fb_crossLinks









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: [PEAR] RE:Problem with DBDOFB and fb_crossLinks
Justin Patrin

2006-03-21, 10:01 pm

On 3/21/06, Jose Manuel Zea <jmzeag@yahoo.es> wrote:
>
>
in[color=darkred]
> the
s[color=darkred]
> the
and[color=darkred]
f[color=darkred]
> false.
> cannot
>
> vcrossLink name.
>
>
> Well, I=B4m not defining the userEditableFields, it=B4s automatically cre=

ated,
> but when I do in this way:


Oh, I see, I thought you were defining it.

>
> var $fb_userEditableFields =3D
> array('collection_id','name','__crossLin
k_Collection_permission_collectio=

n_i
> d_permission_id');
>
> as you said, I=B4m including a function to see the content of the array b=

efore
> the line I mentioned before, and the result is:
>
> * 0 =3D> collection_id
> * 1 =3D> name
>


Strange, althoug with the below I'm not surprised.

> so it=B4s still not working.
>
> Without defining it, the result is:
>
> * 0 =3D> collection_id
> * 1 =3D> name
> * 2 =3D> __crossLink_Collection2permission_collec
tion_id_permission_i=

d
>


Ah, I see. I think I know where the problem is now.

> With respect to using $fb->_sanitizeFieldNames() on the vcrossLink name, =

I
> don=B4t know where and how to implement it.
>


I meant when setting editableFields, but since you're not setting it yourse=
lf...

Ok, I think that I've fixed this in CVS now. Could you try out the CVS
version and see if it fixes your problem?

--
Justin Patrin
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com