Moodle APIs  3.8
Moodle 3.8.6 (Build: 20201109)
Files | Classes | Variables
core_xmldb

Files

file  xmldb_constants.php
 This file contains all the constants and variables used by the XMLDB interface.
 
file  xmldb_field.php
 This class represent one XMLDB Field.
 
file  xmldb_file.php
 This class represent one XMLDB file.
 
file  xmldb_index.php
 This class represent one XMLDB Index.
 
file  xmldb_key.php
 This class represent one XMLDB Key.
 
file  xmldb_object.php
 This class represent the XMLDB base class where all the common pieces are defined.
 
file  xmldb_structure.php
 This class represent one XMLDB structure.
 
file  xmldb_table.php
 This class represent one XMLDB table.
 

Classes

class  xmldb_field
 
class  xmldb_file
 
class  xmldb_index
 
class  xmldb_key
 
class  xmldb_object
 
class  xmldb_structure
 
class  xmldb_table
 

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. More...
 

Detailed Description

Variable Documentation

◆ XMLDB_UNSIGNED

const XMLDB_UNSIGNED true

If the field is going to be unsigned.

Deprecated:
since 2.3