123456789101112131415161718192021222324 |
- <?php
- /**
- * Definition of log events
- *
- * NOTE: this is an example how to insert log event during installation/update.
- * It is not really essential to know about it, but these logs were created as example
- * in the previous 1.9 NEWMODULE.
- *
- * @package mod_nasatlx
- * @copyright 2014 LInE - http://line.ime.usp.br
- * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
- */
- defined('MOODLE_INTERNAL') || die();
- global $DB;
- $logs = array(
- array('module'=>'nasatlx', 'action'=>'add', 'mtable'=>'nasatlx', 'field'=>'name'),
- array('module'=>'nasatlx', 'action'=>'update', 'mtable'=>'nasatlx', 'field'=>'name'),
- array('module'=>'nasatlx', 'action'=>'view', 'mtable'=>'nasatlx', 'field'=>'name'),
- array('module'=>'nasatlx', 'action'=>'view all', 'mtable'=>'nasatlx', 'field'=>'name')
- );
|