Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

We’ll call this example plugin approvalform_enrol, the ‘Course enrolment request form’.

Table of Contents
minLevel1
maxLevel2
outlinefalse
typelist
printablefalse

How to start an approvalform plugin

...

Code Block
languagephp
<?php

$string['pluginname'] = 'Course enrolment request form';

Create a default enrolment workflow

To create a default enrolment workflow, run this PHP script in your directory roots:

Code Block
languagephp
php dev/approval/enrol/create_workflow.php

How to change a form label, or make it a lang string

...