DBI::Library::Database - Database interface for CGI::CMS::GUI
use DBI::Library::Database;
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);
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);
my %reply =( title => $headline, body => $body, id => $reply, user => $m_sUser, attach => $sra, format => $html, ip => remote_addr(), ); reply(\%reply);
$bool = $self->deleteMessage($table,$id);
@menu = $m_oDatabase->readMenu($thread,$m_nRight,$m_nStart,$m_nEnd,$rewrite);
$rss = $m_oDatabase->rss($thread,int start);
$name = $m_oDatabase->getName($m_sSid);
$m_sSidid = $m_oDatabase->setSid(name,pass);
$bool = $m_oDatabase->checkSession($m_sUser,$m_sSid);
$hashref = $m_oDatabase->getAction($m_hrAction);
$m_nRight = $m_oDatabase->getActionRight($m_hrAction);
$m_nRight = right($m_hrAction,$m_sUsername);
userright(user);
topicright(id);
catright(name); todo rekursiv fetch subcat
createMenu(name);
isMember($m_sUser);
checkt ob es den user bereits gibt.
hasAcount($email)
checkt ob es die email Adresse bereits gibt.
$m_oDatabase->addUser(user, pass);
enable or disable rewrite.
set serverName.
set floodtime.
searchDB($m_hrQuery,$spalte,$table);
regexp suche in tabelle ...
@messages = fulltext(query,table);
fulltextsuche in tabelle ...
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(table)
liefert die primary_key der tabelle zurück GetPrimaryKey(table)
liefert die auto_increment zeile zurück GetAutoIncrement(table)
Gibt eine auswahl liste der Datenabanken zurück
gibt das Charset zu coalation zurück. GetCharacterSet(coalation);
gibt die verfügbaren Engines zurück. GetEngines(tabelle);
GetEngineForRow(tabelle, zeile);
gibt die NULL(NULL | nor NULL) auswahlliste zurück GetNull(selected extra, slect_name);
gibt die extra(auto_increment) auswahlliste zurück GetExtra(selected extra, slect_name);
gibt die datentypen zurück GetTypes(selected type, slect_name);
gibt eine auswahlliste (select) zurück. GetColumnCollation( tabelle ,columne, name_select);
gibt eine auswahlliste (select) zurück.
gibt eine auswahlliste (select) zurück. GetAttrs($tbl, $field, $m_hUniqueAttrs )
gibt eine auswahlliste (select) zurück. GetColumns($tbl ,$name,selected)
Dirk Lindner <lze@cpan.org>
Copyright (C) 2006-2008 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:
Non-ASCII character seen before =encoding in 'zurück'. Assuming UTF-8
To install CGI::CMS, copy and paste the appropriate command in to your terminal.
cpanm
cpanm CGI::CMS
CPAN shell
perl -MCPAN -e shell install CGI::CMS
For more information on module installation, please visit the detailed CPAN module installation guide.