CWIS Developer Documentation

- Home
- Main Page
- Namespaces
- Classes
- Files

- File List
- File Members

Classes | Variables
Axis--Database.php File Reference

Go to the source code of this file.

## Classes
class | Database
| SQL database abstraction object with smart query caching. More...

## Variables
const | DB_OKAY 0
const | DB_ERROR 1
const | DB_ACCESSDENIED 2
const | DB_UNKNOWNDB 3
const | DB_UNKNOWNTABLE 4
const | DB_SYNTAXERROR 5
const | DB_DBALREADYEXISTS 6
const | DB_DBDOESNOTEXIST 7
const | DB_DISKFULL 8
const | DB_NOVALUE "!-_-_-DB_NOVALUE-_-_-!"
| $APDBErrorCodeMappings
const | DATE_SQL "Y-m-d H:i:s"

## Variable Documentation

$APDBErrorCodeMappings

Initial value:
= array(
1045 => DB_ACCESSDENIED,
1049 => DB_UNKNOWNDB,
1046 => DB_UNKNOWNTABLE,
1064 => DB_SYNTAXERROR,
1007 => DB_DBALREADYEXISTS, # ? (not sure)
1008 => DB_DBDOESNOTEXIST, # ? (not sure)
1021 => DB_DISKFULL, # ? (not sure)
)
DB_UNKNOWNDB
const DB_UNKNOWNDB
Definition: Axis--Database.php:1322
DB_SYNTAXERROR
const DB_SYNTAXERROR
Definition: Axis--Database.php:1324
DB_DBALREADYEXISTS
const DB_DBALREADYEXISTS
Definition: Axis--Database.php:1325
DB_ACCESSDENIED
const DB_ACCESSDENIED
Definition: Axis--Database.php:1321
DB_DBDOESNOTEXIST
const DB_DBDOESNOTEXIST
Definition: Axis--Database.php:1326
DB_UNKNOWNTABLE
const DB_UNKNOWNTABLE
Definition: Axis--Database.php:1323
DB_DISKFULL
const DB_DISKFULL
Definition: Axis--Database.php:1327

Definition at line 1334 of file Axis--Database.php.

const DATE_SQL "Y-m-d H:i:s"

Definition at line 1345 of file Axis--Database.php.

const DB_ACCESSDENIED 2

Definition at line 1321 of file Axis--Database.php.

const DB_DBALREADYEXISTS 6

Definition at line 1325 of file Axis--Database.php.

const DB_DBDOESNOTEXIST 7

Definition at line 1326 of file Axis--Database.php.

const DB_DISKFULL 8

Definition at line 1327 of file Axis--Database.php.

const DB_ERROR 1

Definition at line 1320 of file Axis--Database.php.

const DB_NOVALUE "!-_-_-DB_NOVALUE-_-_-!"

Definition at line 1331 of file Axis--Database.php.

Referenced by MetadataField\AuthoringPrivilege(), SystemConfiguration\DefaultUserPrivs(), MetadataField\DefaultValue(), MetadataField\EditingPrivilege(), MetadataField\HasItemLevelQualifiers(), SystemConfiguration\HasRegistered(), MetadataField\ImagePreviewPrivilege(), MetadataField\Label(), SystemConfiguration\LogoAltText(), SystemConfiguration\LogoFileName(), SystemConfiguration\LogoHeight(), SystemConfiguration\LogoWidth(), MetadataField\Name(), Folder\Name(), SystemConfiguration\NumClassesPerBrowsePage(), Folder\OwnerId(), MetadataField\PointDecimalDigits(), MetadataField\PointPrecision(), ControlledName\Qualifier(), Classification\Qualifier(), MetadataField\TreeBrowsingPrivilege(), MetadataField\Type(), Database\UpdateFloatValue(), Database\UpdateIntValue(), Database\UpdateValue(), MetadataField\UserPrivilegeRestrictions(), and MetadataField\ViewingPrivilege().

const DB_OKAY 0

Definition at line 1319 of file Axis--Database.php.

const DB_SYNTAXERROR 5

Definition at line 1324 of file Axis--Database.php.

const DB_UNKNOWNDB 3

Definition at line 1322 of file Axis--Database.php.

const DB_UNKNOWNTABLE 4

Definition at line 1323 of file Axis--Database.php.