diff --git a/classes/search/activity.php b/classes/search/activity.php new file mode 100644 index 0000000..f129d1b --- /dev/null +++ b/classes/search/activity.php @@ -0,0 +1,37 @@ +. + +/** + * Search area for mod_attendance activities. + * + * @package mod_attendance + * @copyright 2016 Dan Marsden + * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later + */ + +namespace mod_attendance\search; + +defined('MOODLE_INTERNAL') || die(); + +/** + * Search area for mod_attendance activities. + * + * @package mod_attendance + * @copyright 2016 Dan Marsden + * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later + */ +class activity extends \core_search\area\base_activity { +} diff --git a/lang/en/attendance.php b/lang/en/attendance.php index 6db8ee7..edc0ec9 100644 --- a/lang/en/attendance.php +++ b/lang/en/attendance.php @@ -329,3 +329,4 @@ $string['repeatuntil'] = 'Repeat until'; $string['repeaton'] = 'Repeat on'; $string['invalidsessionendtime'] = 'The end time must be greater than start time'; $string['deletedgroup'] = 'The group associated with this session has been deleted'; +$string['search:activity'] = 'Attendance - activity information'; \ No newline at end of file