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.

Gondwana
 
mnakalay replied on at Permalink Best Answer Reply
mnakalay
yes, you just use $this->fieldName
Gondwana replied on at Permalink Reply
Gondwana
Thanks. I knew it was a dumb question! :)
mnakalay replied on at Permalink Reply
mnakalay
:) you haven't been around that long and you're learning faster than most so you're fine
Gondwana replied on at Permalink Reply
Gondwana
Thanks. :) And it's Sunday (here), too.