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 14 possible levels
14- General Course 13- Map or Folder level in course 12- resource default 11- map default 10- resource level in course 9 - General for section 8 - Map or Folder level for section 7 - resource level in section 6 - General for group 5 - Map or Folder level for group 4 - resource level in group 3 - General for specific student 2 - Map or Folder level for specific student 1 - resource level for specific student
Inputs: $value, $type, $editable
Returns: $value, formatted for output. If $type indicates it is a date,
localtime($value)
is returned.
$editable will return an icon to click on
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
Inputs: $clonelist, $oldcloner where $clonelist is ref to array of requested cloners, and $oldcloner is ref to array of currently allowed cloners.
Returns: string - comma separated list of requested cloners (username:domain) who do not exist in system.
Inputs: $action,$cloner where $action is add or drop, and $cloner is identity of user for whom cloning ability is to be changed in course.