to work with.
Examples: contact_id is contact, contactid, kontakt, kontaktid etc.
In one table "ext" is actually the group_id field...
I want to map these field names so I won't have to use them anymore in
the application except for the model.
The problem is I cannot use views on the database (mysql) side so I'll
have to do this in the model.
However, I cannot wrap my mind around the thing.
$_schema seems to get overwritten by whatever is in the table and I
cannot see which callback would work so I can do this properly in the
model.
I cannot believe I'm the first one encountering this problem but I
couldn't find anything on the web :-/
Mind you: this isn't about table names, foreign keys or primary keys
that part was pretty straight forward and worked out pretty well!
Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
No comments:
Post a Comment