How does one get the current bID from within the block controller?

Permalink
I'm working on a very simple block. I have 3 fields to fill in on the Add and edit views. This data is needed in my block controller and not for fields to display on the view. How can I programmatically get this data for the current block instance? Does anyone know of a way to get the current block instance's bID from within the block controller?

ThomasJ
 
mesuva replied on at Permalink Reply
mesuva
I'm pretty sure you can just get the current bID in the controller using:

$this->bID

The actual fields against your block should be accessible directly after the block has been initialised:

$this->yourFieldName
ThomasJ replied on at Permalink Reply
ThomasJ
Thanks very much for your prompt reply. Late last night, I found in someone else's work, $this->record->bID and so forth. Is this the same thing or is this method deprecated?