Konstrukt::Plugin::guestbook::DBI

Konstrukt::Plugin::guestbook::DBI is a Konstrukt guestbook.
Download

Konstrukt::Plugin::guestbook::DBI Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Thomas Wittek
  • Publisher web site:
  • http://search.cpan.org/~twittek/Konstrukt-0.5-beta7/lib/Konstrukt/Doc/Tutorial/Plugin/Note/DBI.pod

Konstrukt::Plugin::guestbook::DBI Tags


Konstrukt::Plugin::guestbook::DBI Description

Konstrukt::Plugin::guestbook::DBI is a Konstrukt guestbook. Konstrukt::Plugin::guestbook::DBI is a Konstrukt guestbook. Backend Driver for the Perl-DBI.Konstrukt guestbook DBI backend driver.CONFIGURATIONNote that you have to create the table guest. You may turn on the install setting (see "CONFIGURATION" in Konstrukt::Handler) or use the KonstruktBackendInitialization.pl script to accomplish this task.You have to define those settings to use this backend: #backend guestbook/backend/DBI/source dbi:mysql:database:host guestbook/backend/DBI/user user guestbook/backend/DBI/pass passIf no database settings are set the defaults from "CONFIGURATION" in Konstrukt::DBI will be used.METHODSinitInitialization of this classinstallInstalls the backend (e.g. create tables).Parameters:noneget_entries_countReturns the count of the entries in the guestbook.get_entriesReturns the requested entries in the database as an arrayreference of hashreferences: Parameters:$start - The first entry to display. starts with 0$count - The number of entries to displayget_entryReturns one single entry specified by it's ID as an hashreference: {id => , title => , ...}Parameters:$id - The entry's idadd_entryCreates a guestbook entry.Parameters:$name - Author$email - Author's e-mail address$icq - ICQ IM account$aim - AIM account$yahoo - Yahoo! IM account$jabber - Jabber IM account$msn - MSN IM account$homepage - The authors website$text - The entry's text$host - Client Computer's IP/Hostnamedelete_entryRemoves a guestbook entryParameters:$id - The entry's id Requirements: · Perl


Konstrukt::Plugin::guestbook::DBI Related Software