// Use Collection instead of HydrateCollection in several places

This commit is contained in:
rMalie
2011-12-02 15:20:47 +00:00
parent fec7ede55c
commit 5259d4e64e
13 changed files with 97 additions and 99 deletions
+4 -2
View File
@@ -69,8 +69,10 @@ class OrderInvoiceCore extends ObjectModel
protected $fieldsRequired = array('id_order', 'number');
protected $fieldsValidate = array('id_order' => 'isUnsignedId', 'number' => 'isUnsignedId');
protected $table = 'order_invoice';
protected $identifier = 'id_order_invoice';
public static $definition = array(
'table' => 'order_invoice',
'identifier' => 'id_order_invoice',
);
public function getFields()
{