Something like this?
<?php
$this->loadModel('IndustryLink');
$this->IndustryLink->actsAs['Thumbnail'] = array('image', 294, 200);
$industry_links = $this->IndustryLink->find('all', array(
'conditions' => array('IndustryLink.active <>' => '0'),
));
?>
This seems to work, but is there a better way?
On Mar 19, 2:42 am, Miles J <[email protected]> wrote:
> Your not able to pass controller data to the model. You should store
> the data into the Model object and then use that.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CakePHP" 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/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---