On 7/18/06, Sonic Baker <[EMAIL PROTECTED]> wrote:
>
> addItem($item_id)
> {
> ....
> ....
> $this->Sale->StockItem->decrementStockItem($item_id);
> ....
> ....
> }
Sale does not have any child class, it has a read() method that
returns an array of data, recordset alike, so you stop your train at
$this->Sale->read(); it get you a bag full of data you can the use at
will.
--
Gustavo Carreno
---
< If you know Red Hat you know Red Hat,
If you know Slackware you know Linux >
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---