| Moodle APIs 4.3
    Moodle 4.3.6 (Build: 20240812) | 
| Variables | |
| const | ACTION_GENERATE_HTML 1 | 
| The invoke function will return HTML. | |
| const | ACTION_GENERATE_XML 2 | 
| The invoke function will return HTML. | |
| const | ACTION_HAVE_SUBACTIONS 1 | 
| The class can have subaction. | |
| const | ACTION_NONE 0 | 
| Default flags for class. | |
| const | XMLDB_INDEX_NOTUNIQUE false | 
| If the index is NOT going to be unique. | |
| const | XMLDB_INDEX_UNIQUE true | 
| If the index is going to be unique. | |
| const | XMLDB_KEY_CHECK 4 | 
| Check Constraints - NOT USED! | |
| const | XMLDB_KEY_FOREIGN 3 | 
| Foreign Keys. | |
| const | XMLDB_KEY_FOREIGN_UNIQUE 5 | 
| Foreign Key + Unique Key. | |
| const | XMLDB_KEY_INCORRECT 0 | 
| Wrong DB Key. | |
| const | XMLDB_KEY_PRIMARY 1 | 
| Primary Keys. | |
| const | XMLDB_KEY_UNIQUE 2 | 
| Unique Keys. | |
| const | XMLDB_LINEFEED "\n" | 
| New line in xmldb generated files. | |
| const | XMLDB_NOTNULL true | 
| If the field is going to be not null. | |
| const | XMLDB_PHP_FOOTER ' }' . XMLDB_LINEFEED | 
| Upgrade end in upgrade.php. | |
| const | XMLDB_PHP_HEADER ' if ($oldversion < XXXXXXXXXX) {' . XMLDB_LINEFEED | 
| Upgrade start in upgrade.php. | |
| const | XMLDB_SEQUENCE true | 
| If the field is going to be a sequence. | |
| const | XMLDB_TYPE_BINARY 6 | 
| Binary. | |
| const | XMLDB_TYPE_CHAR 4 | 
| String. | |
| const | XMLDB_TYPE_DATETIME 7 | 
| Datetime. | |
| const | XMLDB_TYPE_FLOAT 3 | 
| Floating Point number. | |
| const | XMLDB_TYPE_INCORRECT 0 | 
| Wrong DB Type. | |
| const | XMLDB_TYPE_INTEGER 1 | 
| Integer. | |
| const | XMLDB_TYPE_NUMBER 2 | 
| Decimal number. | |
| const | XMLDB_TYPE_TEXT 5 | 
| Text. | |
| const | XMLDB_TYPE_TIMESTAMP 8 | 
| Timestamp. | |
| const | XMLDB_UNSIGNED true | 
| If the field is going to be unsigned. | |