Access database values in controller

Permalink
When I'm in a view, I get the database values like this: $columnName. However, I need to do a few things with that data before it gets passed to the view. Is there any way to get this value from the view() method of the block's controller?

 
A3020 replied on at Permalink Best Answer Reply
A3020
Yeah, you can just use $this->columnName.
Jayshua replied on at Permalink Reply
Ah, thank you. I also found that $this->get(columnName) works as well.