[-] CORE: Refactoring of the ValidateOrder method

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@9479 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
vSchoener
2011-10-19 16:33:07 +00:00
parent 3f15c80a82
commit cef6e4f65a
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);
}
}