Im hoping this will work. Im an application for writing and billing and you want to save the current account in an array that can be placed in the blob field. It will also be used for archive changes, etc.
Invoice sales items are displayed using CGridView. The only thing in the documentation says that the data source is IDataProvider. I do not want to store the whole object in my Db, but something similar to this:
invoice->array( InvoiceHeader->array(
I would like to do this in my opinion:
$this->widget('zii.widgets.grid.CGridView', array( 'dataProvider'=>$this->invoiceItems, ));
- side note. Persistent storage is a series of tables, this will be used to store active entries with browser errors, etc. The current system does this directly in the tables, but leads to non-competitive account numbers and inaccurate statistics.
Tom t
source share