Timeline for How to access craft custom variable from PHP
Current License: CC BY-SA 4.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Dec 17, 2022 at 8:51 | comment | added | Matthias Redl-Mann | OK, at least for Blitz I found out, that you can simply use Blitz::$plugin-> to access the Blitz object. | |
Dec 16, 2022 at 13:02 | comment | added | Matthias Redl-Mann | Let's say I want to access craft.blitz from PHP... (Blitz Cache) | |
Dec 16, 2022 at 13:00 | comment | added | Matthias Redl-Mann | This does not work. It would require to keep a reference to myVar in MyModule, which works if I'm in control over my module but not for foreign craft.something variables. | |
Dec 15, 2022 at 8:07 | history | answered | Jalen Davenport♦ | CC BY-SA 4.0 |