// Add more informations on deprecated data

This commit is contained in:
rMalie
2012-01-26 14:10:31 +00:00
parent 4bbc253c6e
commit 5990e369c6
44 changed files with 127 additions and 30 deletions

View File

@@ -27,6 +27,9 @@
/**
* This file will be removed in 1.6
* You have to use index.php?controller=page_name instead of this page
*
* @deprecated 1.5.0
*/
require(dirname(__FILE__).'/config/config.inc.php');

View File

@@ -27,6 +27,9 @@
/**
* This file will be removed in 1.6
* You have to use index.php?controller=page_name instead of this page
*
* @deprecated 1.5.0
*/
require(dirname(__FILE__).'/config/config.inc.php');

View File

@@ -27,6 +27,9 @@
/**
* This file will be removed in 1.6
* You have to use index.php?controller=page_name instead of this page
*
* @deprecated 1.5.0
*/
require(dirname(__FILE__).'/config/config.inc.php');

View File

@@ -27,6 +27,9 @@
/**
* This file will be removed in 1.6
* You have to use index.php?controller=page_name instead of this page
*
* @deprecated 1.5.0
*/
require(dirname(__FILE__).'/config/config.inc.php');

View File

@@ -27,6 +27,9 @@
/**
* This file will be removed in 1.6
* You have to use index.php?controller=page_name instead of this page
*
* @deprecated 1.5.0
*/
require(dirname(__FILE__).'/config/config.inc.php');

View File

@@ -27,6 +27,9 @@
/**
* This file will be removed in 1.6
* You have to use index.php?controller=page_name instead of this page
*
* @deprecated 1.5.0
*/
require(dirname(__FILE__).'/config/config.inc.php');

View File

@@ -27,6 +27,9 @@
/**
* This file will be removed in 1.6
* You have to use index.php?controller=page_name instead of this page
*
* @deprecated 1.5.0
*/
require(dirname(__FILE__).'/config/config.inc.php');

View File

@@ -27,6 +27,9 @@
/**
* This file will be removed in 1.6
* You have to use index.php?controller=page_name instead of this page
*
* @deprecated 1.5.0
*/
require(dirname(__FILE__).'/config/config.inc.php');

View File

@@ -177,11 +177,7 @@ class AttributeCore extends ObjectModel
}
/**
* Get quantity for product with attributes quantity
*
* @deprecated since 1.5.0, use Product->getStock()
* @param integer $id_product
* @return mixed Quantity or false
* @deprecated 1.5.0, use StockAvailable::getQuantityAvailableByProduct()
*/
public static function getAttributeQty($id_product)
{

View File

@@ -264,8 +264,7 @@ class CartCore extends ObjectModel
}
/**
* @deprecated 1.5.0.1
* @see Cart::getCartRules()
* @deprecated 1.5.0, use Cart->getCartRules()
*/
public function getDiscounts($lite = false, $refresh = false)
{
@@ -683,7 +682,7 @@ class CartCore extends ObjectModel
}
/**
* @deprecated 1.5.0.1
* @deprecated 1.5.0, use Cart->addCartRule()
*/
public function addDiscount($id_cart_rule)
{
@@ -997,7 +996,7 @@ class CartCore extends ObjectModel
}
/**
* @deprecated 1.5.0.1
* @deprecated 1.5.0, use Cart->removeCartRule()
*/
public function deleteDiscount($id_cart_rule)
{
@@ -2091,17 +2090,7 @@ class CartCore extends ObjectModel
/**
* Return shipping total
* This function is dépreciate, use getTotalShippingCost or getPackageShippingCost
*
* @param integer $id_carrier Carrier ID (default : current carrier)
* @param booleal $use_tax
* @param Country $default_country
* @param Array $product_list
* @param array $product_list List of product concerned by the shipping. If null, all the product of the cart are used to calculate the shipping cost
* @deprecated since 1.5.0
*
* @return float Shipping total
* @deprecated 1.5.0, use Cart->getPackageShippingCost()
*/
public function getOrderShippingCost($id_carrier = null, $use_tax = true, Country $default_country = null, $product_list = null)
{
@@ -2453,7 +2442,7 @@ class CartCore extends ObjectModel
}
/**
* @deprecated 1.5.0.1
* @deprecated 1.5.0
*/
public function checkDiscountValidity($obj, $discounts, $order_total, $products, $check_cart_discount = false)
{

View File

@@ -26,6 +26,8 @@
*/
/**
* Controllers don't need to be loaded with includeController anymore since they use Autoload
*
* @deprecated since 1.5.0
*/
class ControllerFactoryCore

View File

@@ -417,7 +417,7 @@ class FrontControllerCore extends Controller
}
/**
* @deprecated
* @deprecated 1.5.0
*/
public function displayHeader($display = true)
{
@@ -449,7 +449,7 @@ class FrontControllerCore extends Controller
}
/**
* @deprecated
* @deprecated 1.5.0
*/
public function displayFooter($display = true)
{

View File

@@ -571,11 +571,7 @@ class ValidateCore
}
/**
* Check for values list validity
* Mostly used in database for insertions (A,B,C),(A,B,C)...
*
* @deprecated
* @return boolean Validity is ok or not
* @deprecated 1.5.0 You should not use list like this, please use an array when you build a SQL query
*/
public static function isValuesList()
{
@@ -848,7 +844,7 @@ class ValidateCore
}
/**
* @deprecated 1.5.0
* @deprecated 1.5.0 Use Validate::isBoolId()
*/
public static function isBool_Id($ids)
{

View File

@@ -897,7 +897,7 @@ class ShopCore extends ObjectModel
}
/**
* @deprecated 1.5.0
* @deprecated 1.5.0 Use shop->getID()
*/
public static function getCurrentShop()
{

View File

@@ -27,6 +27,9 @@
/**
* This file will be removed in 1.6
* You have to use index.php?controller=page_name instead of this page
*
* @deprecated 1.5.0
*/
require(dirname(__FILE__).'/config/config.inc.php');

View File

@@ -27,6 +27,9 @@
/**
* This file will be removed in 1.6
* You have to use index.php?controller=page_name instead of this page
*
* @deprecated 1.5.0
*/
require(dirname(__FILE__).'/config/config.inc.php');

View File

@@ -27,6 +27,9 @@
/**
* This file will be removed in 1.6
* You have to use index.php?controller=page_name instead of this page
*
* @deprecated 1.5.0
*/
require(dirname(__FILE__).'/config/config.inc.php');

View File

@@ -27,6 +27,9 @@
/**
* This file will be removed in 1.6
* You have to use index.php?controller=page_name instead of this page
*
* @deprecated 1.5.0
*/
require(dirname(__FILE__).'/config/config.inc.php');

View File

@@ -27,6 +27,9 @@
/**
* This file will be removed in 1.6
* You have to use index.php?controller=page_name instead of this page
*
* @deprecated 1.5.0
*/
require(dirname(__FILE__).'/config/config.inc.php');

View File

@@ -27,6 +27,9 @@
/**
* This file will be removed in 1.6
* You have to use index.php?controller=page_name instead of this page
*
* @deprecated 1.5.0
*/
require(dirname(__FILE__).'/config/config.inc.php');

View File

@@ -27,6 +27,9 @@
/**
* This file will be removed in 1.6
* You have to use index.php?controller=page_name instead of this page
*
* @deprecated 1.5.0
*/
require(dirname(__FILE__).'/config/config.inc.php');

View File

@@ -27,6 +27,9 @@
/**
* This file will be removed in 1.6
* You have to use index.php?controller=page_name instead of this page
*
* @deprecated 1.5.0
*/
require(dirname(__FILE__).'/config/config.inc.php');

View File

@@ -27,6 +27,9 @@
/**
* This file will be removed in 1.6
* You have to use index.php?controller=page_name instead of this page
*
* @deprecated 1.5.0
*/
require(dirname(__FILE__).'/config/config.inc.php');

View File

@@ -27,6 +27,9 @@
/**
* This file will be removed in 1.6
* You have to use index.php?controller=page_name instead of this page
*
* @deprecated 1.5.0
*/
require(dirname(__FILE__).'/config/config.inc.php');

View File

@@ -27,6 +27,9 @@
/**
* This file will be removed in 1.6
* You have to use index.php?controller=page_name instead of this page
*
* @deprecated 1.5.0
*/
require(dirname(__FILE__).'/config/config.inc.php');

View File

@@ -27,6 +27,9 @@
/**
* This file will be removed in 1.6
* You have to use index.php?controller=page_name instead of this page
*
* @deprecated 1.5.0
*/
require(dirname(__FILE__).'/config/config.inc.php');

View File

@@ -27,6 +27,9 @@
/**
* This file will be removed in 1.6
* You have to use index.php?controller=page_name instead of this page
*
* @deprecated 1.5.0
*/
require(dirname(__FILE__).'/config/config.inc.php');

View File

@@ -27,6 +27,9 @@
/**
* This file will be removed in 1.6
* You have to use index.php?controller=page_name instead of this page
*
* @deprecated 1.5.0
*/
require(dirname(__FILE__).'/config/config.inc.php');

View File

@@ -27,6 +27,9 @@
/**
* This file will be removed in 1.6
* You have to use index.php?controller=page_name instead of this page
*
* @deprecated 1.5.0
*/
require(dirname(__FILE__).'/config/config.inc.php');

View File

@@ -27,6 +27,9 @@
/**
* This file will be removed in 1.6
* You have to use index.php?controller=page_name instead of this page
*
* @deprecated 1.5.0
*/
require(dirname(__FILE__).'/config/config.inc.php');

View File

@@ -27,6 +27,9 @@
/**
* This file will be removed in 1.6
* You have to use index.php?controller=page_name instead of this page
*
* @deprecated 1.5.0
*/
require(dirname(__FILE__).'/config/config.inc.php');

View File

@@ -27,6 +27,9 @@
/**
* This file will be removed in 1.6
* You have to use index.php?controller=page_name instead of this page
*
* @deprecated 1.5.0
*/
require(dirname(__FILE__).'/config/config.inc.php');

View File

@@ -27,6 +27,9 @@
/**
* This file will be removed in 1.6
* You have to use index.php?controller=page_name instead of this page
*
* @deprecated 1.5.0
*/
include(dirname(__FILE__).'/config/config.inc.php');

View File

@@ -27,6 +27,9 @@
/**
* This file will be removed in 1.6
* You have to use index.php?controller=page_name instead of this page
*
* @deprecated 1.5.0
*/
include(dirname(__FILE__).'/config/config.inc.php');

View File

@@ -27,6 +27,9 @@
/**
* This file will be removed in 1.6
* You have to use index.php?controller=page_name instead of this page
*
* @deprecated 1.5.0
*/
include(dirname(__FILE__).'/config/config.inc.php');

View File

@@ -27,6 +27,9 @@
/**
* This file will be removed in 1.6
* You have to use index.php?controller=page_name instead of this page
*
* @deprecated 1.5.0
*/
require(dirname(__FILE__).'/config/config.inc.php');

View File

@@ -27,6 +27,9 @@
/**
* This file will be removed in 1.6
* You have to use index.php?controller=page_name instead of this page
*
* @deprecated 1.5.0
*/
require(dirname(__FILE__).'/config/config.inc.php');

View File

@@ -27,6 +27,9 @@
/**
* This file will be removed in 1.6
* You have to use index.php?controller=page_name instead of this page
*
* @deprecated 1.5.0
*/
require(dirname(__FILE__).'/config/config.inc.php');

View File

@@ -27,6 +27,9 @@
/**
* This file will be removed in 1.6
* You have to use index.php?controller=page_name instead of this page
*
* @deprecated 1.5.0
*/
require(dirname(__FILE__).'/config/config.inc.php');

View File

@@ -27,6 +27,9 @@
/**
* This file will be removed in 1.6
* You have to use index.php?controller=page_name instead of this page
*
* @deprecated 1.5.0
*/
require(dirname(__FILE__).'/config/config.inc.php');

View File

@@ -27,6 +27,9 @@
/**
* This file will be removed in 1.6
* You have to use index.php?controller=page_name instead of this page
*
* @deprecated 1.5.0
*/
require(dirname(__FILE__).'/config/config.inc.php');

View File

@@ -27,6 +27,9 @@
/**
* This file will be removed in 1.6
* You have to use index.php?controller=page_name instead of this page
*
* @deprecated 1.5.0
*/
require(dirname(__FILE__).'/config/config.inc.php');

View File

@@ -27,6 +27,9 @@
/**
* This file will be removed in 1.6
* You have to use index.php?controller=page_name instead of this page
*
* @deprecated 1.5.0
*/
require(dirname(__FILE__).'/config/config.inc.php');

View File

@@ -27,6 +27,9 @@
/**
* This file will be removed in 1.6
* You have to use index.php?controller=page_name instead of this page
*
* @deprecated 1.5.0
*/
require(dirname(__FILE__).'/config/config.inc.php');