log.php 1.7 KB

1234567891011121314151617181920212223242526272829303132333435
  1. <?php
  2. /**
  3. * Definition of log events
  4. *
  5. * @author Patricia Alves Rodrigues
  6. * @author Leônidas O. Brandão
  7. * @version v 1.0 2010/09/27
  8. * @package mod_iassign_db
  9. * @since 2010/09/27
  10. * @copyright iMatica (<a href="http://www.matematica.br">iMath</a>) - Computer Science Dep. of IME-USP (Brazil)
  11. *
  12. * <b>License</b>
  13. * - http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
  14. */
  15. /**
  16. * Moodle core defines constant MOODLE_INTERNAL which shall be used to make sure that the script is included and not called directly.
  17. */
  18. defined('MOODLE_INTERNAL') || die();
  19. /**
  20. * Array of log events.
  21. */
  22. $logs = array(
  23. array('module' => 'iassign', 'action' => 'view', 'mtable' => 'iassign_view', 'field' => 'name'),
  24. array('module' => 'iassign', 'action' => 'add', 'mtable' => 'iassign_add', 'field' => 'name'),
  25. array('module' => 'iassign', 'action' => 'update', 'mtable' => 'iassign_update', 'field' => 'name'),
  26. array('module' => 'iassign', 'action' => 'view submission', 'mtable' => 'iassign_view_submission', 'field' => 'name'),
  27. array('module' => 'iassign', 'action' => 'upload', 'mtable' => 'iassign_upload', 'field' => 'name'),
  28. array('module' => 'iassign', 'action' => 'update comment', 'mtable' => 'iassign_update_comment', 'field' => 'name'),
  29. array('module' => 'iassign', 'action' => 'update submission', 'mtable' => 'iassign_update_submission', 'field' => 'name'),
  30. array('module' => 'iassign', 'action' => 'delete iassign', 'mtable' => 'iassign_delete', 'field' => 'name'),
  31. array('module' => 'iassign', 'action' => 'add comment', 'mtable' => 'iassign_add_comment', 'field' => 'name'),
  32. array('module' => 'iassign', 'action' => 'add submission', 'mtable' => 'iassign_add_comment', 'field' => 'name'),
  33. );