classes/Attribute.php 1

Element Line Description
\AttributeCore::getAttributeQty() 209 use StockAvailable::getQuantityAvailableByProduct()
\AttributeCore::updateQtyProduct() 223 since 1.5.0

classes/stock/StockMvt.php 1

Element Line Description
\StockMvtCore::addMissingMvt() 169 since 1.5.0 This method no longer exists. There is no equivalent or replacement, considering that this should be handled by inventories.
\StockMvtCore::date_upd 118 since 1.5.0
\StockMvtCore::date_upd 118 stock movement will not be updated anymore
\StockMvtCore::quantity 125 since 1.5.0

classes/Discount.php 1

Element Line Description
\DiscountCore 30
\DiscountCore::add() 136
\DiscountCore::update() 146
\DiscountCore::getIdByName() 156
\DiscountCore::getCustomerDiscounts() 164
\DiscountCore::getVouchersToCartDisplay() 172
\DiscountCore::getValue() 180
\DiscountCore::discountExists() 195
\DiscountCore::createOrderDiscount() 203
\DiscountCore::display() 255

classes/ObjectModel.php 1

Element Line Description
\ObjectModelCore::getTranslationsFields() 804 (use getFieldsLang())
\ObjectModelCore::makeTranslationFields() 820
\ObjectModelCore::validateControler() 1032 since 1.5 use validateController instead
\ObjectModelCore::table 71 This property shouldn't be overloaded anymore in class, use static $definition['table'] property instead
\ObjectModelCore::identifier 76 This property shouldn't be overloaded anymore in class, use static $definition['primary'] property instead
\ObjectModelCore::fieldsRequired 81 This property shouldn't be overloaded anymore in class, use static $definition['fields'] property instead
\ObjectModelCore::fieldsSize 86 This property shouldn't be overloaded anymore in class, use static $definition['fields'] property instead
\ObjectModelCore::fieldsValidate 91 This property shouldn't be overloaded anymore in class, use static $definition['fields'] property instead
\ObjectModelCore::fieldsRequiredLang 96 This property shouldn't be overloaded anymore in class, use static $definition['fields'] property instead
\ObjectModelCore::fieldsSizeLang 101 This property shouldn't be overloaded anymore in class, use static $definition['fields'] property instead
\ObjectModelCore::fieldsValidateLang 106 This property shouldn't be overloaded anymore in class, use static $definition['fields'] property instead
\ObjectModelCore::tables 111

classes/PaymentCC.php 1

Element Line Description
\PaymentCCCore 33
\PaymentCCCore::add() 61
\PaymentCCCore::getByOrderId() 74

classes/Validate.php 1

Element Line Description
\ValidateCore::isValuesList() 618 You should not use list like this, please use an array when you build a SQL query
\ValidateCore::isBool_Id() 924 Use Validate::isBoolId()

classes/Cart.php 1

Element Line Description
\CartCore::getDiscounts() 328 use Cart->getCartRules()
\CartCore::addDiscount() 763 use Cart->addCartRule()
\CartCore::deleteDiscount() 1128 use Cart->removeCartRule()
\CartCore::getOrderShippingCost() 2585 use Cart->getPackageShippingCost()
\CartCore::checkDiscountValidity() 2936

classes/Hook.php 1

Element Line Description
\HookCore::updateOrderStatus() 558
\HookCore::postUpdateOrderStatus() 572
\HookCore::orderConfirmation() 584
\HookCore::paymentReturn() 610
\HookCore::PDFInvoice() 636
\HookCore::backBeforePayment() 647
\HookCore::updateCarrier() 657
\HookCore::preloadHookModulesCache() 671 use Hook::getHookModuleList() instead
\HookCore::get() 690 since 1.5.0 use Hook::getIdByName() instead
\HookCore::updateQuantity() 724
\HookCore::productFooter() 733
\HookCore::productOutOfStock() 742
\HookCore::addProduct() 751
\HookCore::updateProduct() 760
\HookCore::deleteProduct() 769
\HookCore::updateProductAttribute() 778
\HookCore::_hook_modules_cache 79
\HookCore::_hook_modules_cache_exec 84

classes/AdminTab.php 1

Element Line Description
\AdminTabCore 30
\AdminTabCore::deleteImage() 516 As of 1.5 use ObjectModel->deleteImage instead.

classes/order/OrderSlip.php 1

Element Line Description
\OrderSlipCore::createOrderSlip() 230 since 1.6.0.10 use OrderSlip::create() instead

classes/order/OrderHistory.php 1

Element Line Description
\OrderHistoryCore::getLastOrderState() 351

classes/order/Order.php 1

Element Line Description
\OrderCore::setProductPrices() 542
\OrderCore::getDiscounts() 736
\OrderCore::getOrdersIdInvoiceByDate() 924 since 1.5.0.2
\OrderCore::getOrderIdsByStatus() 949
\OrderCore::addDiscount() 1061
\OrderCore::getInvoice() 1375
\OrderCore::shipping_number 91

classes/order/OrderDiscount.php 1

Element Line Description
\OrderDiscountCore 30

classes/CMSCategory.php 1

Element Line Description
\CMSCategoryCore::searchByNameAndParentCMSCategoryId() 514

classes/Cookie.php 1

Element Line Description
\CookieCore::isLogged() 193 as of version 1.5 use Customer::isLogged() instead
\CookieCore::isLoggedBack() 211 as of version 1.5 use Employee::isLoggedBack() instead

classes/Tools.php 1

Element Line Description
\ToolsCore::getMetaTags() 929
\ToolsCore::getHomeMetaTags() 938
\ToolsCore::completeMetaTags() 947
\ToolsCore::minifyHTML() 1829 as of 1.5 use Media::minifyHTML()
\ToolsCore::minifyHTMLpregCallback() 1872 as of 1.5 use Media::minifyHTMLpregCallback()
\ToolsCore::packJSinHTML() 1881 as of 1.5 use Media::packJSinHTML()
\ToolsCore::packJSinHTMLpregCallback() 1890 as of 1.5 use Media::packJSinHTMLpregCallback()
\ToolsCore::packJS() 1899 as of 1.5 use Media::packJS()
\ToolsCore::minifyCSS() 1920 as of 1.5 use Media::minifyCSS()
\ToolsCore::addJS() 1952 as of 1.5 use FrontController->addJS()
\ToolsCore::addCSS() 1962 as of 1.5 use FrontController->addCSS()
\ToolsCore::cccCss() 1972 as of 1.5 use Media::cccCss()
\ToolsCore::cccJS() 1982 as of 1.5 use Media::cccJS()
\ToolsCore::property_exists() 2476 since 1.5.0 (PHP 5.1 required, so property_exists() is now natively supported)
\ToolsCore::display404Error() 2666 as of 1.5 use Controller::getController('PageNotFoundController')->run();

classes/db/Db.php 1

Element Line Description
\DbCore::autoExecute() 283 use insert() or update() method instead
\DbCore::s() 729
\DbCore::ps() 738
\DbCore::ds() 748

classes/County.php 1

Element Line Description
\CountyCore 31 since 1.5
\CountyCore::getCounties() 72 since 1.5
\CountyCore::getZipCodes() 81 since 1.5
\CountyCore::addZipCodes() 90 since 1.5
\CountyCore::removeZipCodes() 99 since 1.5
\CountyCore::breakDownZipCode() 108 since 1.5
\CountyCore::getIdCountyByZipCode() 117 since 1.5
\CountyCore::isZipCodeRangePresent() 126 since 1.5
\CountyCore::isZipCodePresent() 135 since 1.5
\CountyCore::deleteZipCodeByIdCounty() 144 since 1.5
\CountyCore::getIdCountyByNameAndIdState() 153 since 1.5

classes/Translate.php 1

Element Line Description
\TranslateCore::smartyPostProcessTranslation() 293 renamed this to postProcessTranslation, since it is not only used in relation to smarty.

classes/Country.php 1

Element Line Description
\CountryCore::getDefaultCountryId() 280 as of 1.5 use $context->country->id instead

classes/Language.php 1

Element Line Description
\LanguageCore::_getThemesList() 184

classes/controller/FrontController.php 1

Element Line Description
\FrontControllerCore::displayHeader() 469
\FrontControllerCore::displayFooter() 507
\FrontControllerCore::smarty 34 Deprecated shortcuts as of 1.5 - Use $context->var instead
\FrontControllerCore::cookie 34 Deprecated shortcuts as of 1.5 - Use $context->var instead
\FrontControllerCore::link 34 Deprecated shortcuts as of 1.5 - Use $context->var instead
\FrontControllerCore::cart 34 Deprecated shortcuts as of 1.5 - Use $context->var instead

classes/Product.php 1

Element Line Description
\_CUSTOMIZE_FILE_ 30
\_CUSTOMIZE_TEXTFIELD_ 34
\ProductCore::getProductAttributePrice() 1071 Use Combination::getPrice()
\ProductCore::addProductAttribute() 1224 since 1.5.0
\ProductCore::updateProductAttribute() 1385 since 1.5
\ProductCore::updateQuantityProductWithAttributeQuantity() 1591 since 1.5.0
\ProductCore::addAttributeCombinaison() 1773 since 1.5.0.7
\ProductCore::updateQuantity() 3078 since 1.5.0 It's not possible to use this method with new stockManager and stockAvailable features Now this method do nothing
\ProductCore::reinjectQuantities() 3095 since 1.5.0 It's not possible to use this method with new stockManager and stockAvailable features Now this method do nothing
\ProductCore::addStockMvt() 4572 since 1.5.0
\ProductCore::getStockMvts() 4592 since 1.5.0
\ProductCore::getAttributeCombinaisons() 5554
\ProductCore::deleteAttributeCombinaison() 5565
\ProductCore::id_color_default 206

classes/tax/Tax.php 1

Element Line Description
\TaxCore::getProductTaxRateViaRules() 235 since 1.5

classes/tax/TaxRule.php 1

Element Line Description
\TaxRuleCore::deleteTaxRuleByIdCounty() 115 since 1.5

classes/tax/TaxRulesGroup.php 1

Element Line Description
\TaxRulesGroupCore::getTaxesRate() 221 since 1.5
\TaxRulesGroupCore::getTaxes() 235 since 1.5

classes/shop/Shop.php 1

Element Line Description
\ShopCore::getCurrentShop() 1146 Use shop->id

classes/Customer.php 1

Element Line Description
\CustomerCore::isUsed() 675 since 1.5

classes/exception/PrestaShopException.php 1

Element Line Description
\PrestaShopExceptionCore::getExentedMessage() 156

classes/module/Module.php 1

Element Line Description
\ModuleCore::displayFlags() 760 since 1.6.0.10
\ModuleCore::findTranslation() 1800 Use Translate::getModuleTranslation()

classes/ControllerFactory.php 1

Element Line Description
\ControllerFactoryCore 32 since 1.5.0
\ControllerFactoryCore::includeController() 37 since 1.5.0
\ControllerFactoryCore::getController() 60 since 1.5.0

classes/helper/Helper.php 1

Element Line Description
\HelperCore::renderAdminCategorieTree() 120

classes/Currency.php 1

Element Line Description
\CurrencyCore::getCurrent() 426 as of 1.5 use $context->currency instead

classes/Image.php 1

Element Line Description
\ImageCore::positionImage() 315 since version 1.5.0.1 use Image::updatePosition() instead

controllers/front/ParentOrderController.php 1

Element Line Description
\ParentOrderControllerCore::setDefaultCarrierSelection() 591 since 1.5.0
\ParentOrderControllerCore::_setDefaultCarrierSelection() 606 since 1.5.0