NAME

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

SYNOPSIS

use DBI::Library::Database;

addMessage

my %message = (

     thread => $thread,

     title => $headline,

     body  => $body,

     thread => $thread,

     cat    => $cat,

     attach => $sra,

     format => $format,

     id => $id,

     user => $m_sUser,

     attach => $m_sFilename,

     ip => remote_addr(),


);

addMessage(\%message);

editMessage()

my %message = (

        thread => $thread,

     title => $headline,

     body  => $body,

     thread => $thread,

     cat    => $cat,

     attach => $sra,

     format => $format,

     id => $id,

     user => $m_sUser,

     attach => $m_sFilename,

     ip => remote_addr(),

);

editMessage(\%message);

reply

my %reply =(

     title => $headline,

     body => $body,

     id => $reply,

     user => $m_sUser,

     attach =>  $sra,

     format => $html,

     ip => remote_addr(),

);

reply(\%reply);

deleteMessage

$bool = $self->deleteMessage($table,$id);

readMenu()

@menu = $m_oDatabase->readMenu($thread,$m_nRight,$m_nStart,$m_nEnd,$rewrite);

rss()

$rss = $m_oDatabase->rss($thread,int start);

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_hrAction);

getActionRight

$m_nRight = $m_oDatabase->getActionRight($m_hrAction);

right()

$m_nRight = right($m_hrAction,$m_sUsername);

userright()

userright(user);

topicright()

topicright(id);

catright()

catright(name);
todo rekursiv fetch subcat

createMenu()

createMenu(name);

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);

rewrite()

enable or disable rewrite.

serverName()

set serverName.

floodtime()

set floodtime.

searchDB()

searchDB($m_hrQuery,$spalte,$table);

regexp suche in tabelle ...

fulltext()

@messages = fulltext(query,table);

fulltextsuche in tabelle ...

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 zurück

@array = GetPrimaryKey(table)

GetAutoIncrement()

liefert die auto_increment zeile zurück

GetAutoIncrement(table)

GetDataBases()

Gibt eine auswahl liste der Datenabanken zurück

GetTables()

Gibt eine auswahl liste der Tabellen zurück

TableCount4Db()

Gibt die anzahl der tabellen für die angegebene Datenbank zurück.

GetCharacterSet()

gibt das Charset zu coalation zurück.

GetCharacterSet(coalation);

GetEngines()

gibt die verfügbaren Engines zurück.

GetEngines(tabelle);

GetEngineForRow()

GetEngineForRow(tabelle, zeile);

GetNull()

gibt die NULL(NULL | not NULL) auswahlliste zurück

GetNull(selected extra, slect_name);

GetExtra()

gibt die extra(auto_increment) auswahlliste zurück

GetExtra(selected extra, slect_name);

GetTypes()

gibt die datentypen zurück

GetTypes(selected type, slect_name);

GetColumnCollation()

gibt eine auswahlliste (select) zurück.

GetColumnCollation( tabelle ,columne, name_select);

GetCollation()

gibt eine auswahlliste (select) zurück.

GetAttrs

gibt eine auswahlliste (select) zurück.

GetAttrs($tbl, $field, $m_hUniqueAttrs )

GetColumns

gibt eine auswahlliste (select) zurück.

GetColumns($tbl ,$name,selected)

getSelf()

prepare()

execute()

fetch()

AUTHOR

Dirk Lindner <lze@cpan.org>

LICENSE

Copyright (C) 2006-2009 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.

1 POD Error

The following errors were encountered while parsing the POD:

Around line 801:

Non-ASCII character seen before =encoding in 'zurück'. Assuming UTF-8