// Add more informations on deprecated data
This commit is contained in:
@@ -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');
|
||||
|
||||
@@ -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');
|
||||
|
||||
@@ -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');
|
||||
|
||||
@@ -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');
|
||||
|
||||
@@ -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');
|
||||
|
||||
3
cart.php
3
cart.php
@@ -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');
|
||||
|
||||
@@ -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');
|
||||
|
||||
@@ -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');
|
||||
|
||||
@@ -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)
|
||||
{
|
||||
|
||||
@@ -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)
|
||||
{
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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)
|
||||
{
|
||||
|
||||
@@ -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)
|
||||
{
|
||||
|
||||
@@ -897,7 +897,7 @@ class ShopCore extends ObjectModel
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated 1.5.0
|
||||
* @deprecated 1.5.0 Use shop->getID()
|
||||
*/
|
||||
public static function getCurrentShop()
|
||||
{
|
||||
|
||||
3
cms.php
3
cms.php
@@ -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');
|
||||
|
||||
@@ -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');
|
||||
|
||||
@@ -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');
|
||||
|
||||
@@ -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');
|
||||
|
||||
@@ -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');
|
||||
|
||||
@@ -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');
|
||||
|
||||
@@ -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');
|
||||
|
||||
@@ -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');
|
||||
|
||||
@@ -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');
|
||||
|
||||
@@ -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');
|
||||
|
||||
@@ -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');
|
||||
|
||||
@@ -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');
|
||||
|
||||
@@ -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');
|
||||
|
||||
@@ -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');
|
||||
|
||||
@@ -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');
|
||||
|
||||
@@ -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');
|
||||
|
||||
@@ -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');
|
||||
|
||||
@@ -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');
|
||||
|
||||
@@ -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');
|
||||
|
||||
@@ -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');
|
||||
|
||||
@@ -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');
|
||||
|
||||
@@ -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');
|
||||
|
||||
@@ -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');
|
||||
|
||||
@@ -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');
|
||||
|
||||
@@ -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');
|
||||
|
||||
@@ -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');
|
||||
|
||||
@@ -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');
|
||||
|
||||
@@ -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');
|
||||
|
||||
@@ -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');
|
||||
|
||||
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user