You are here

function _dba_ops in Database Administration 5

End of "defgroup dba_api".

Related topics

File

./dba.module, line 1597
Allows administrators direct access to their Drupal database. Written by Jeremy Andrews <jeremy@kerneltrap.org>, June 2004. PostgreSQL functionality provided by AAM <aam@ugpl.de> Major security audit, porting, and maintenance by Derek…

Code

function _dba_ops($op) {
  $ops = array(
    'drop' => t('drop'),
    'describe' => t('describe'),
    'optimize' => t('optimize'),
    'check' => t('check'),
    'backup' => t('backup'),
    'empty' => t('empty'),
    'view' => t('view'),
  );
  return $op ? $ops[$op] : $ops;
}