MDL-69863 tool_brickfield: Adding the Brickfield toolkit.

This commit is contained in:
Mike Churchward 2021-04-23 16:40:34 -04:00 committed by Eloy Lafuente (stronk7)
parent 49c74619f7
commit 43d29ccbed
279 changed files with 24982 additions and 0 deletions

View file

@ -0,0 +1,45 @@
<?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/>.
namespace tool_brickfield\local\areas\mod_folder;
use tool_brickfield\local\areas\module_area_base;
/**
* Folder activity name observer.
*
* @package tool_brickfield
* @copyright 2020 onward: Brickfield Education Labs, www.brickfield.ie
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
class name extends module_area_base {
/**
* Get table name.
* @return string
*/
public function get_tablename(): string {
return 'folder';
}
/**
* Get field name.
* @return string
*/
public function get_fieldname(): string {
return 'name';
}
}