Logs for

Page 337 of 211,266, showing 20 records out of 4,225,320 total, starting on record 6,721, ending on 6,740

# At Username Text
# Aug 9th 2008, 04:38 ichsan I know CakePHP can do the first line
# Aug 9th 2008, 04:38 ichsan But how about the second one?
# Aug 9th 2008, 04:39 ichsan CakePHP can handle the first line by doing $this->Medicine->find(4)
# Aug 9th 2008, 04:39 kalileo as you said at the beginning, you can instantaite a class using $xobile = new med...
# Aug 9th 2008, 04:40 kalileo but that would be bypassing the cake functionality
# Aug 9th 2008, 04:41 kalileo ichsan: I just don't see why that would give you any advantage
# Aug 9th 2008, 04:41 ichsan So, there is no way to implement the second line of my code snippet above other than using $this->Medicine->get_current_stock(4) ?
# Aug 9th 2008, 04:42 ichsan kalileo: That gives me advantage because I hate to care about id.
# Aug 9th 2008, 04:42 ichsan Because, I already working on this instance of medicine, not that one
# Aug 9th 2008, 04:42 kalileo ichsan: $this->Medicine->get_current_stock('xobile');
# Aug 9th 2008, 04:43 ichsan Ok, I that's fine. So that's how the CakePHP handle the second line.
# Aug 9th 2008, 04:44 ichsan kalileo: thanks for your patient answering my question
# Aug 9th 2008, 04:44 ichsan bya
# Aug 9th 2008, 04:44 ichsan bye
# Aug 9th 2008, 04:45 kalileo ichsan: $this->Xobile->get_current_stock() would be another way, if you create the Xobile Model
# Aug 9th 2008, 04:45 kalileo ah ok, nevermind, bye
# Aug 9th 2008, 04:51 darki i have three models: "Booking HASONE BookingInvoice" and "BankAccount HASMANY BookingInvoice" - how can i display data from BankAccount in my Booking-View? I tried everything but i come only till BookingInvoice
# Aug 9th 2008, 05:01 pgcd_away quick question: i was under the impression that SWFUpload would "hijack" the file field defined in the form and do its thing, but it looks like it doesn't. Am i supposed to add a button and a div for the files list myself?
# Aug 9th 2008, 05:01 pgcd_away (cake1.2 and SWFU 2.1)
# Aug 9th 2008, 05:16 Howard`` Does anyone know anything about spanning one database table across several servers?