lonparmset - Handler to set parameters for assessments and course
lonparmset provides an interface to setting course parameters.
This module sets coursewide and assessment parameters.
Inputs: $what - a parameter spec (incluse part info and name I.E. 0.weight) $id - a bighash Id number $def - the resource's default value 'stupid emacs
Returns: A list, the first item is the index into the remaining list of items of parm valuse that is the active one, the list consists of parm values at the 11 possible levels
11- resource default 10- map default 9 - General Course 8 - Map or Folder level in course 7 - resource level in course 6 - General for section 5 - Map or Folder level for section 4 - resource level in section 3 - General for specific student 2 - Map or Folder level for specific student 1 - resource level for specific student
Inputs: $value, $type
Returns: $value, formatted for output. If $type indicates it is a date,
localtime($value)
is returned.
Inputs: $type,$dis,$value,$marker,$return,$call
Returns: scalar with html code for a link which will envoke the javascript function 'pjump'.
Inputs: $r
Returns: nothing
Variables used (guessed by Jeremy):
Inputs: $r
Returns: nothing