Log Message:
-----------
Added comments to file about where wwlink state is stored
Modified Files:
--------------
wwmoodle/wwassignment4/moodle/blocks/wwlink:
block_wwlink.php
Revision Data
-------------
Index: block_wwlink.php
===================================================================
RCS file: /webwork/cvs/system/wwmoodle/wwassignment4/moodle/blocks/wwlink/block_wwlink.php,v
retrieving revision 1.4
retrieving revision 1.5
diff -Lwwassignment4/moodle/blocks/wwlink/block_wwlink.php -Lwwassignment4/moodle/blocks/wwlink/block_wwlink.php -u -r1.4 -r1.5
--- wwassignment4/moodle/blocks/wwlink/block_wwlink.php
+++ wwassignment4/moodle/blocks/wwlink/block_wwlink.php
@@ -78,6 +78,9 @@
// $this->content->footer = '';
// return $this->content;
// }
+
+// new method for storing state:
+// we can store it in the configuration data for the block! we don't need the wwassignment_bridge table to store state.
function get_content() {
global $COURSE;
//print_r($this->config );
|