[-] CORE: Refactoring of the ValidateOrder method

This commit is contained in:
vSchoener
2011-10-19 16:33:07 +00:00
parent b770289bee
commit 75f89b0406
3 changed files with 274 additions and 113 deletions
+10 -1
View File
@@ -1042,4 +1042,13 @@ class OrderCore extends ObjectModel
DELETE FROM `'._DB_PREFIX_.'order_detail`
WHERE `id_order` = '.(int)($this->id)) !== false);
}
}
/*
** Get the an order detail list of the current order
*/
public function getOrderDetailList()
{
return OrderDetail::getList($this->id);
}
}