Thursday, January 7, 2016

Re: CakehasM 3 hasMany -> always empty

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 the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, 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: