I can't think of a compelling reason to do that in Cake. I doubt doing
that would play nicely with FormHelper, for one thing.
On Tue, Oct 6, 2009 at 12:38 PM, PaulMan pho...@gmail.com wrote:
Hello,
Select . Workflow.id as Fa, Workflow.name as Fb ...
How can this be done using the 'fields' parameter
for example
var $belongsTo = array(
'Workflow' = array(
'className' = 'Workflow',
'foreignKey' = 'workflow_id',
'conditions' = '',
'fields' = array('id','name'), // -- Using this
paramenter
'order' = ''
)
)
Please help,
Best Regards to all,
--~--~-~--~~~---~--~~
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---