http://api.cakephp.org/class_model.html#da9914325847e7a03320eafb691208da
On Apr 10, 5:55 pm, "Petr Vytlačil" <[EMAIL PROTECTED]> wrote: > Hi for example: > > Model: Item > -id > -name > -seo > -price > ---hasmany: Image > > Model: Image > -id > -id_item > -smallimage : BLOB > -bigimage : BLOB > ---belognsto: Image > > How i get only colum ID images related with any Item? > > This: > $this->Item->read(null, $id) > Return all informations about item and related images with blob > colums, but i dont want select colums bigimage and smallimage because > its is needless. > > For show image i use only id image. > > THX --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" 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 -~----------~----~----~----~------~----~------~--~---
