Re: saving hasAndBelongsToMany - what´s wrong?

2006-07-25 Thread felle42
Thanks ralph! I made a ticket for it on Trac! Hope they take it. greets felle42 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegro

Re: saving hasAndBelongsToMany - what´s wrong?

2006-07-25 Thread felle42
ok, I found it! the __saveMulti -method in the model class shuffels the $key=>$value association of the given data if there are some keys of the dependent model not given! This is because __saveMulti expects to be given all dependent-keys for that model. But if we have a 0:n-relationship it migh

saving hasAndBelongsToMany - what´s wrong?

2006-07-24 Thread felle42
Hello I want to assign a contact person(german: "Ansprechpartner") to different kinds of a model. my model looks like this: class Ansprechpartner extends AppModel { var $name = 'Ansprechpartner'; var $useTable = "ansprechpartner"; var$primaryKey = "ans_id"; var $recursive = 2; var $has

Re: findall-problem with condition on child table

2006-05-30 Thread felle42
Hi Andy, have you already found out what that problem was? it seems that I have the same problem and also no idea... greets felle42 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group.

Re: hasAndBelongsToMany Manual error

2006-05-29 Thread felle42
-documentation: "The submitted data must be a single ID, or an array of IDs of linked records." greets felle42 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, se

Re: Global variables?

2006-05-23 Thread felle42
. is there a better way of doing this? greets felle42 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from

Global variables?

2006-05-23 Thread felle42
by putting a php-syntax error in it. But I can´t access the variables defined in it. I know I have to set them global where I try to access them... I use version 1.0.x.x of the framework. Any ideas? greets felle42 --~--~-~--~~~---~--~~ You received this message b