Moodle  2.2.1
http://www.collinsharper.com
C:/xampp/htdocs/moodle/lib/dmllib.php File Reference

Go to the source code of this file.

Data Structures

class  dml_exception
class  dml_connection_exception
class  dml_sessionwait_exception
class  dml_read_exception
class  dml_multiple_records_exception
class  dml_missing_record_exception
class  dml_write_exception
class  dml_transaction_exception

Namespaces

namespace  core

Enumerations

enum  IGNORE_MISSING
enum  IGNORE_MULTIPLE
enum  MUST_EXIST

Functions

 setup_DB ()

Enumeration Type Documentation

Return false if record not found, show debug warning if multiple records found

Definition at line 47 of file dmllib.php.

Similar to IGNORE_MISSING but does not show debug warning if multiple records found, not recommended to be used

Definition at line 49 of file dmllib.php.

enum MUST_EXIST

Indicates exactly one record must exist

Definition at line 51 of file dmllib.php.


Function Documentation

setup_DB ( )

Sets up global $DB moodle_database instance

object object

Returns:
void

Definition at line 237 of file dmllib.php.

Here is the call graph for this function:

 All Data Structures Namespaces Files Functions Variables Enumerations