[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/mod/feedback/item/multichoice/ -> lib.php (summary)

(no description)

File Size: 466 lines (18 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 1 file
 mod/feedback/item/multichoice/multichoice_form.php

Defines 1 class

feedback_item_multichoice:: (15 methods):
  build_editform()
  save_item()
  get_analysed()
  get_printval()
  print_analysed()
  excelprint_item()
  get_options()
  complete_form_element()
  create_value()
  compare_value()
  get_info()
  set_ignoreempty()
  ignoreempty()
  set_hidenoselect()
  hidenoselect()


Class: feedback_item_multichoice  - X-Ref

build_editform($item, $feedback, $cm)   X-Ref
No description

save_item()   X-Ref
No description

get_analysed($item, $groupid = false, $courseid = false)   X-Ref
Helper function for collected data, both for analysis page and export to excel

param: stdClass $item the db-object from feedback_item
param: int $groupid
param: int $courseid
return: array

get_printval($item, $value)   X-Ref
No description

print_analysed($item, $itemnr = '', $groupid = false, $courseid = false)   X-Ref
No description

excelprint_item(&$worksheet, $row_offset,$xls_formats, $item,$groupid, $courseid = false)   X-Ref
No description

get_options($item)   X-Ref
Options for the multichoice element

param: stdClass $item
return: array

complete_form_element($item, $form)   X-Ref
Adds an input element to the complete form

This element has many options - it can be displayed as group or radio elements,
group of checkboxes or a dropdown list.

param: stdClass $item
param: mod_feedback_complete_form $form

create_value($value)   X-Ref
Prepares value that user put in the form for storing in DB

param: array $value
return: string

compare_value($item, $dbvalue, $dependvalue)   X-Ref
Compares the dbvalue with the dependvalue

param: stdClass $item
param: string $dbvalue is the value input by user in the format as it is stored in the db
param: string $dependvalue is the value that it needs to be compared against

get_info($item)   X-Ref
No description

set_ignoreempty($item, $ignoreempty=true)   X-Ref
No description

ignoreempty($item)   X-Ref
No description

set_hidenoselect($item, $hidenoselect=true)   X-Ref
No description

hidenoselect($item)   X-Ref
No description



Generated: Thu Aug 11 10:00:09 2016 Cross-referenced by PHPXref 0.7.1