The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

DBI::Library::Database - Database interface for MySQL::Admin::GUI

SYNOPSIS

use DBI::Library::Database;

new()

      constructor

getName()

      $name = $m_oDatabase->getName($m_sSid);

setSid

$m_sSidid = $m_oDatabase->setSid(name,pass);

checkSession

      $bool = $m_oDatabase->checkSession($m_sUser,$m_sSid);

checkPass()

getAction

      $hashref = $m_oDatabase->getAction($m_sAction);

getActionRight

      $right = $m_oDatabase->getActionRight($m_sAction);

right()

      $nRight = right($m_sAction,$m_sUsername);

userright()

      userright(user);

topicright()

      topicright(id);

catright()

      catright('name|name2');

isMember

      isMember($m_sUser);

checkt ob es den user bereits gibt.

hasAcount

      hasAcount($email)

checkt ob es die email Adresse bereits gibt.

addUser

      $m_oDatabase->addUser(user, pass);

serverName()

set serverName.

floodtime()

set floodtime.

checkFlood

checked wann die letzte aktion der ip adresse war und erlaubt sie nur wenn midestens time zeit zur letzen aktion vergangen ist.

checkFlood(ip,optionaler abstand in sekunden )

        checkFlood(remote_addr());

GetAutoIncrementValue()

       GetAutoIncrementValue(table)

GetPrimaryKey()

       liefert die primary_key(s) der tabelle zurueck

       @array = GetPrimaryKey(table)

getIndex()

GetAutoIncrement()

       liefert die auto_increment zeile zurueck

       GetAutoIncrement(table)

fetch_string()

GetDataBases()

     Gibt eine auswahl liste der Datenabanken zurueck

GetTables()

        GetTables(name,selected )

TableCount4Db()

     Gibt die anzahl der tabellen fuer die angegebene Datenbank zurueck.

GetCharacterSet()

        gibt das Charset zu coalation zurueck.

        GetCharacterSet(coalation);

GetEngines()

        gibt die verfuegbaren Engines zurueck.

        GetEngines(tabelle);

GetEngineForRow()

        GetEngineForRow(tabelle, zeile);

GetNull()

        gibt die NULL(NULL | not NULL) auswahlliste zurueck

        GetNull(selected extra, slect_name);

GetExtra()

        gibt die extra(auto_increment) auswahlliste zurueck

        GetExtra(selected extra, slect_name);

GetTypes()

        gibt die datentypen zurueck

        GetTypes(selected type, slect_name);

GetColumnCollation()

       gibt eine auswahlliste (select) zurueck.

       GetColumnCollation( tabelle ,columne, name_select);

GetCollation()

        $sel = GetCollation(name);

GetCharset()

        $sel = GetCharset(name,table);

GetAttrs

       $sel = GetAttrs($tbl, $field, $m_hUniqueAttrs );

GetColumns

       $sel = GetColumns($tbl ,$name,$selected);

getSelf()

see HTML::Menu::TreeView::getSelf

prepare()

execute()

fetch()

SEE ALSO

MySQL::Admin::GUI DBI DBI::Library " =head1 AUTHOR

Dirk Lindner <lze@cpan.org>

LICENSE

Copyright (C) 2005-2015 by Hr. Dirk Lindner

This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.