Getting Content from a Block

Permalink 1 user found helpful
...maybe I am blind (I've Googled, searched the forum, and gone through the API), but how can I simply get the output from a block (without rendering the content). For example given a Block object called "$myblock", how can I say:

$thecontent = $myblock->getContent();

Thanks in advance!

Alex

alexaalto
 
alexaalto replied on at Permalink Reply
alexaalto
...figured it out:

$thecontent = $myblock->getController()->content;