Access Database Fields in a Block's controller.php
Permalink
This is probably a dumb question, but...
How can I (easily) access a block's database fields in its controller.php? I know I can get them using $fieldName in view.php, but they don't seem to be injected similarly in controller.php.
How can I (easily) access a block's database fields in its controller.php? I know I can get them using $fieldName in view.php, but they don't seem to be injected similarly in controller.php.
yes, you just use $this->fieldName
Thanks. I knew it was a dumb question! :)
:) you haven't been around that long and you're learning faster than most so you're fine
Thanks. :) And it's Sunday (here), too.