Comments (3)
Hi @stalniy,
Mage_Core_Block_Abstract::helper($name) calls $this->getLayout()->helper($name), which refers to the same Mage::helper($name).
Actually Mage::getStoreConfig() returns store config value.
from magento2.
Hi. Yes i know this. But if you use Mage_Core_Block_Abstract::helper everywhere (where it's possible) instead of Mage::helper then in future it will be easy to improve architecture. Because you will need to change only one method in Mage_Core_Block_Abstract class and only in one file.
from magento2.
You are right. It's easier if Mage_Core_Block_Abstract::helper() method should do something different from Mage::helper(). Thank you for the advise, we'll consider it, if Mage_Core_Block_Abstract class will be refactored.
from magento2.
Related Issues (20)
- Coupon for single use can be used multiple times HOT 21
- Product Image Attributes not present in store view at be even if they should HOT 12
- magento 2 Oauth token request gets 400 bad request HOT 2
- Very specific header set in main REST controller resulting in a redirection to /checkout/noroute/ HOT 11
- Cart Price Rules for Not Visible Individually product not work HOT 8
- [Issue] file upload issue in WYSIWYG editor on product page HOT 4
- `Magento\Checkout\Model\Cart::getQuote()` Returns Incorrect Quote After Using `\Magento\Checkout\Model\Session::replaceQuote($quote)` HOT 4
- Sales order item qtys and bundle HOT 6
- di settings used for Translation function HOT 1
- Mag HOT 18
- Magento API to upload pdf file in downloadable products HOT 4
- [Issue] Improve setup:di:compile performance by using gc_disable HOT 6
- magento/module-catalog/Setup/Patch/Data/UpdateMultiselectAttributesBackendTypes.php breaks upgrade in migrated sites from 1.x HOT 4
- configurable_product_options_selection returns an incomplete result set HOT 2
- GA4 and GTM running in anonymous mode HOT 1
- ES indices:admin/aliases/get permission required for wildcard index HOT 1
- Question: At what point of time version `2.4.6-p2` will be merged to `2.4-develop` HOT 3
- [Issue] There is a plugin add this data when loading a customer group
- DI compile / PHPScanner aborts with Undefined array key -1 when an extension has an un-namespaced PHP class in an include-file and calls that class with new ... HOT 6
- Inventory update of Configurable Product fails when database uses prefixes HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from magento2.