Timeline for Block with PHP methods only - preferable inheritance
Current License: CC BY-SA 3.0
8 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Nov 18, 2016 at 14:25 | vote | accept | Bartosz Kubicki | ||
Nov 15, 2016 at 20:50 | answer | added | tjons | timeline score: 2 | |
Nov 15, 2016 at 15:38 | comment | added | Bartosz Kubicki | I've updated my question. | |
Nov 15, 2016 at 15:38 | history | edited | Bartosz Kubicki | CC BY-SA 3.0 |
added 1329 characters in body
|
Nov 15, 2016 at 15:33 | comment | added | Marius♦ | you should offer an example to make it easier to understand. | |
Nov 15, 2016 at 15:32 | comment | added | Bartosz Kubicki | For example - block checks if product is already bought and returns a value to render. I understand that is part of view layer. What is more blocks can be easily added by layout xml. Is it incorrect? | |
Nov 15, 2016 at 15:25 | comment | added | Marius♦ | then why do you create blocks and not models, or helpers, or anything else that's not a model, block or helper? | |
Nov 15, 2016 at 15:20 | history | asked | Bartosz Kubicki | CC BY-SA 3.0 |