Thursday, January 7, 2016

Re: CakehasM 3 hasMany -> always empty

Hi John,

Thank you for your answer .

It's correct, because the model are in plugin called Tranquillity:) it gets the class, the entity, everything seems to be where it should... Just the data in the property is missing.

Bogdan

Sent from my iPhone

On 07 Jan 2016, at 19:07, John Andersen <j.andersen.lv@gmail.com> wrote:

Hi Bogdan

Is the below correct? To me it does not seem correct :)
 $this->belongsTo('Contract', [
'className' => 'Tranquillity.Contract',

Enjoy, John

On Thursday, 7 January 2016 13:01:30 UTC+2, Bogdan Soos wrote:
Hi there,

I am having a problem with hasMany.
Here is my case:

Models:
ContractTable -> hasMany -> CustomValues

[snip]

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

---
You received this message because you are subscribed to a topic in the Google Groups "CakePHP" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/cake-php/Yc0iKP6l7fk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at https://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.

No comments: