|
Moodle
2.2.1
http://www.collinsharper.com
|


Public Member Functions | |
| __construct ($mdb, $unique_session_id) | |
| add_temptable ($tablename) | |
Protected Attributes | |
| $unique_session_id | |
| $counter | |
Definition at line 35 of file oci_native_moodle_temptables.php.
| __construct | ( | $ | mdb, |
| $ | unique_session_id | ||
| ) |
Creates new moodle_temptables instance
| object | moodle_database instance |
Definition at line 44 of file oci_native_moodle_temptables.php.
| add_temptable | ( | $ | tablename | ) |
Add one temptable to the store.
Overriden because OCI only support global temptables, so we need to change completely the name, based in unique session identifier, to get local-like temp tables support tables before the prefix.
Given one moodle temptable name (without prefix), add it to the store, with the key being the original moodle name and the value being the real db temptable name already prefixed
Override and use this *only* if the database requires modification in the table name.
| string | $tablename | name without prefix of the table created as temptable |
Reimplemented from moodle_temptables.
Definition at line 65 of file oci_native_moodle_temptables.php.
$counter [protected] |
Definition at line 38 of file oci_native_moodle_temptables.php.
$unique_session_id [protected] |
Definition at line 37 of file oci_native_moodle_temptables.php.