There is missing documentation in the MODEL description. I have read
the sections many times, but I cannot find anything referring to how
to use foreign keys with names different from the related table.
For instance, I have the following table structure:
status:
id:
name: { type: VARCHAR, size: 32 }
Description: { type: VARCHAR, size: 255 }
status_entry_flow:
id:
initial_status_id: { type: INTEGER, foreignTable: status,
foreignReference: id }
next_status_id: { type: INTEGER, foreignTable: status,
foreignReference: id }
There is absolutely no description anywhere in the documentation that
I can find that tells me how to use initial_status_id and
next_status_id in the generated model files. I had to search through
the generated model php files to discover the
getStatusRelatedByInitialStatusId()
function. There is no documentation associated with this function.
It does not appear anywhere in the book. I have not been able to find
it anywhere on the web site. Where do I look for this?
I am really trying hard to find things out before asking questions.
/Joe
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"symfony developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/symfony-devs?hl=en
-~----------~----~----~----~------~----~------~--~---