Skip to content

Commit e9bc220

Browse files
Add new section about flags
1 parent 14f6b4b commit e9bc220

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

README.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,15 +57,15 @@ To allow your plugin to deliver the custom element file, you'll need to add or m
5757
// my/plugin/lib.php
5858
function my_plugin_pluginfile($course, $cm, $context, $filearea, $args, $forcedownload, array $options = array()) {
5959
$pluginpath = __DIR__.'/';
60-
60+
6161
// ...
6262

6363
if ($filearea === 'vendorjs') {
6464
$path = $pluginpath.'vendorjs/'.implode('/', $args);
6565
send_file($path, basename($path));
6666
return true;
6767
}
68-
68+
6969
// ...
7070
}
7171
```
@@ -80,6 +80,7 @@ as a parameter in the example above.
8080
The following example shows how to make use of Angular to call string functions from Moodle.
8181

8282
This is a general purpose Angular service that allows consuming any Moodle service function:
83+
8384
```ts
8485
import {Injectable} from '@angular/core';
8586

@@ -407,7 +408,12 @@ Enjoy!
407408

408409
```
409410

411+
## Flags
412+
413+
### The `local_ce_enable_usage`flag.
414+
410415
## License
416+
411417
Copyright (c) 2021 Open LMS (https://www.openlms.net)
412418

413419
This program is free software: you can redistribute it and/or modify it under
@@ -420,4 +426,4 @@ WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
420426
PARTICULAR PURPOSE. See the GNU General Public License for more details.
421427

422428
You should have received a copy of the GNU General Public License along with
423-
this program. If not, see <http://www.gnu.org/licenses/>.
429+
this program. If not, see [http://www.gnu.org/licenses/](http://www.gnu.org/licenses/).

0 commit comments

Comments
 (0)