. /** * 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_lamslesson * @copyright 2011 LAMS Foundation - Ernie Ghiglione (ernieg@lamsfoundation.org) * @license http://www.gnu.org/licenses/gpl-2.0.html GNU GPL v2 */ defined('MOODLE_INTERNAL') || die(); global $DB; $logs = array( array('module'=>'lamslesson', 'action'=>'add', 'mtable'=>'lamslesson', 'field'=>'name'), array('module'=>'lamslesson', 'action'=>'update', 'mtable'=>'lamslesson', 'field'=>'name'), array('module'=>'lamslesson', 'action'=>'view', 'mtable'=>'lamslesson', 'field'=>'name'), array('module'=>'lamslesson', 'action'=>'view all', 'mtable'=>'lamslesson', 'field'=>'name') );