Removed the $course var from MoodleBlock (useless now).
<h3>I Just Hear Static</h3>
- <p>In order to get our block to actually display something on screen, we need to add one more method. All together now:</p>
+ <p>In order to get our block to actually display something on screen, we need to add one more method to our class (before the final closing brace in our file). All together now:</p>
<pre class="code">function get_content() {
if ($this->content !== NULL) {
*/
var $title = NULL;
- /**
- * A course object that this block is associated with. Take care - it may be NULL.
- * @var COURSE $course
- */
- var $course = NULL;
-
/**
* The type of content that this block creates. Currently support options - BLOCK_TYPE_LIST, BLOCK_TYPE_TEXT, BLOCK_TYPE_NUKE
* @var int $content_type