dmz htmlform dropdown rendering |
[eluser]bEz[/eluser]
Including Fields from Deep Relationships This method also supports deep relationships. You can only include columns from objects that are related by single relationships all the way. The default column prefix for deep relationships is to replace all forward slashes with underscores. You can still override this to be whatever you want. A deep relationship is simply the name of each related object, in order, separated by a forward slash (/). Here's an example: Code: // Create Post So in your case, you would just need to do 'client/site/job' as your deep relationship. Code: $c = new Client(); Of course, you would want to supply the "list" data for the form_fields parameter. |
Messages In This Thread |
dmz htmlform dropdown rendering - by El Forum - 12-02-2009, 04:57 AM
dmz htmlform dropdown rendering - by El Forum - 12-02-2009, 10:20 AM
dmz htmlform dropdown rendering - by El Forum - 12-03-2009, 05:01 AM
|