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
-~----------~----~----~----~------~----~------~--~---

Reply via email to