mirror of
https://github.com/moodle/moodle.git
synced 2025-03-14 04:30:15 +01:00
MDL-54562 mod_data: Add activities info to search
This commit is contained in:
parent
2c952b2f38
commit
e5fa1c5781
37
mod/data/classes/search/activity.php
Normal file
37
mod/data/classes/search/activity.php
Normal file
@ -0,0 +1,37 @@
|
||||
<?php
|
||||
// This file is part of Moodle - http://moodle.org/
|
||||
//
|
||||
// Moodle is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License as published by
|
||||
// the Free Software Foundation, either version 3 of the License, or
|
||||
// (at your option) any later version.
|
||||
//
|
||||
// Moodle is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
/**
|
||||
* Search area for mod_data activities.
|
||||
*
|
||||
* @package mod_data
|
||||
* @copyright 2016 David Monllao {@link http://www.davidmonllao.com}
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
|
||||
namespace mod_data\search;
|
||||
|
||||
defined('MOODLE_INTERNAL') || die();
|
||||
|
||||
/**
|
||||
* Search area for mod_data activities.
|
||||
*
|
||||
* @package mod_data
|
||||
* @copyright 2016 David Monllao {@link http://www.davidmonllao.com}
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
class activity extends \core_search\area\base_activity {
|
||||
}
|
@ -331,6 +331,7 @@ $string['savesettings'] = 'Save settings';
|
||||
$string['savesuccess'] = 'Saved successfully. Your preset will now be available across the site.';
|
||||
$string['savetemplate'] = 'Save template';
|
||||
$string['search'] = 'Search';
|
||||
$string['search:activity'] = 'Database - activity information';
|
||||
$string['selectedrequired'] = 'All selected required';
|
||||
$string['showall'] = 'Show all entries';
|
||||
$string['single'] = 'View single';
|
||||
|
Loading…
x
Reference in New Issue
Block a user