var $courseid = NULL;
var $filtertype = NULL;
var $filterselect = NULL;
+ var $tagid = NULL;
// Mandatory; should return our identifier.
function get_type() {
}
function url_get_parameters() {
+
$array = array();
if (!$this->full_init_done) {
$array['userid'] = $this->id;
if (!empty($this->filterselect)) {
$array['filterselect'] = $this->filterselect;
}
+ if (!empty($this->tagid)) {
+ $array['tagid'] = $this->tagid;
+ }
return $array;
}
$PAGE->courseid = $courseid;
$PAGE->filtertype = $filtertype;
$PAGE->filterselect = $filterselect;
+$PAGE->tagid = $tagid;
$PAGE->init_full(); //init the BlogInfo object and the courserecord object