getMetamodComments(KEY)getModeratorCommentLog(KEY)getModeratorLogID(KEY)unsetModeratorlog(KEY)getContentFilters()createSubmission(FORM)getDiscussions(KEY)getSessionInstance(KEY)setContentFilter(FORM)setSectionExtra(KEY)getUserInstance(KEY)deleteUser(KEY)getUserAuthenticate(KEY)getNewPasswd(KEY)getUserUID(KEY)getCommentsByUID(KEY)createContentFilter(KEY)createUser(KEY)setVar(KEY)setSession(KEY)setBlock(KEY)setDiscussion(KEY)setTemplate(KEY)getCommentChildren(KEY)deleteComment(KEY)getCommentPid(KEY)setSection(KEY)getSectionTitle(KEY)deleteSubmission(KEY)deleteSession(KEY)deleteAuthor(KEY)deleteTopic(KEY)revertBlock(KEY)deleteTemplate(KEY)deleteSection(KEY)deleteContentFilter(KEY)saveTopic(KEY)saveBlock(KEY)saveColorBlock(KEY)getSectionBlock(KEY)getSectionBlocks(KEY)getAuthorDescription(KEY)getPollVoter(KEY)savePollQuestion(KEY)getPollQuestionList(KEY)getPollAnswers(KEY)getPollQuestions(KEY)deleteStory(KEY)deleteStoryAll(KEY)setStory(KEY)getSubmissionLast(KEY)updateFormkeyId(KEY)createFormkey(KEY)checkFormkey(KEY)checkTimesPosted(KEY)formSuccess(KEY)formFailure(KEY)createAbuse(KEY)checkForm(KEY)currentAdmin(KEY)getTopNewsstoryTopics(KEY)getPoll(KEY)getSubmissionsSections(KEY)getSubmissionsPending(KEY)getSubmissionCount(KEY)getPortals(KEY)getPortalsCommon(KEY)countComments(KEY)countStory(KEY)checkForMetaModerator(KEY)getAuthorNames(KEY)getStoryByTime(KEY)countStories(KEY)setModeratorVotes(KEY)setMetaMod(KEY)getModeratorLast(KEY)getModeratorLogRandom(KEY)countUsers(KEY)countStoriesStuff(KEY)countStoriesAuthors(KEY)countPollquestions(KEY)createVar(KEY)deleteVar(KEY)setCommentCleanup(KEY)countUsersIndexExboxesByBid(KEY)getCommentReply(KEY)getCommentsForUser(KEY)getComments(KEY)getStoriesEssentials(KEY)getCommentsTop(KEY)getQuickies(KEY)setQuickies(KEY)getSubmissionForUser(KEY)getIsTroll(KEY)createDiscussion(KEY)createStory(KEY)updateStory(KEY)getSlashConf(KEY)autoUrl(KEY)getUrlFromTitle(KEY)getTime(KEY)getDay(KEY)getStoryList(KEY)getPollVotesMax(KEY)getStory(KEY)getAuthor(KEY)getAuthors(KEY)getPollQuestion(KEY)getDiscussion(KEY)getBlock(KEY)getTemplate(KEY)getTemplateByName(KEY)getTopic(KEY)getTopics(KEY)getTemplates(KEY)getContentFilter(KEY)getSubmission(KEY)getSection(KEY)getSections(KEY)getModeratorLog(KEY)getNewStory(KEY)getVar(KEY)setUser(KEY)getUser(KEY)getStories(KEY)getSessions(KEY)createBlock(KEY)createTemplate(KEY)createMenuItem(KEY)getMenuItems(KEY)getMenus(KEY)sqlReplace(KEY)getKeys(KEY)sqlTableExists(KEY)sqlSelectColumns(KEY)generatesession(KEY)
Slash::DB - Database Class for Slash
use Slash::DB;
my $object = Slash::DB->new("virtual_user");
This package is the front end interface to slashcode. By looking at the database parameter during creation it determines what type of database to inherit from.
This is an awful method. You use it to create a new comments. This will go away. It locks tables, so fear calling it.
``Its like a party in my mouth and everyone threw up.''
This set has some logic to it and is not a generic set method. All values must be accounted for or this will not work. Basically this creates an entry in the moderator log.
getMetamodComments(KEY)I am the default documentation, short and stout.
getModeratorCommentLog(KEY)I am the default documentation, short and stout.
getModeratorLogID(KEY)I am the default documentation, short and stout.
unsetModeratorlog(KEY)I am the default documentation, short and stout.
getContentFilters()This returns all content filters in an array of arrays. It does not return filters that have been created but not defined.
Increment the poll count for a given answer.
createSubmission(FORM)This creates a submission. Passing in the form is optional.
getDiscussions(KEY)I am the default documentation, short and stout.
getSessionInstance(KEY)I am the default documentation, short and stout.
setContentFilter(FORM)Save data into a filter.
setSectionExtra(KEY)I am the default documentation, short and stout.
This creates an entry into the access log. Keep in mind that this uses different environmental variables for its entry.
The mother of all methods for HTML selects. It returns a hash with key pairs pulled from the database. The following are valid types: sortcodes statuscodes tzcodes tzdescription dateformats datecodes commentmodes threshcodes postmodes isolatemodes issuemodes vars topics maillist
getUserInstance(KEY)I am the default documentation, short and stout.
deleteUser(KEY)I am the default documentation, short and stout.
getUserAuthenticate(KEY)I am the default documentation, short and stout.
getNewPasswd(KEY)I am the default documentation, short and stout.
getUserUID(KEY)I am the default documentation, short and stout.
getCommentsByUID(KEY)I am the default documentation, short and stout.
createContentFilter(KEY)I am the default documentation, short and stout.
createUser(KEY)I am the default documentation, short and stout.
setVar(KEY)I am the default documentation, short and stout.
setSession(KEY)I am the default documentation, short and stout.
setBlock(KEY)I am the default documentation, short and stout.
setDiscussion(KEY)I am the default documentation, short and stout.
setTemplate(KEY)I am the default documentation, short and stout.
getCommentChildren(KEY)I am the default documentation, short and stout.
deleteComment(KEY)I am the default documentation, short and stout.
getCommentPid(KEY)I am the default documentation, short and stout.
setSection(KEY)I am the default documentation, short and stout.
You should call this whenever you delete comments belonging to a story with the count of the number of comments you deleted.
getSectionTitle(KEY)I am the default documentation, short and stout.
deleteSubmission(KEY)I am the default documentation, short and stout.
deleteSession(KEY)I am the default documentation, short and stout.
deleteAuthor(KEY)I am the default documentation, short and stout.
deleteTopic(KEY)I am the default documentation, short and stout.
revertBlock(KEY)I am the default documentation, short and stout.
deleteTemplate(KEY)I am the default documentation, short and stout.
deleteSection(KEY)I am the default documentation, short and stout.
deleteContentFilter(KEY)I am the default documentation, short and stout.
saveTopic(KEY)I am the default documentation, short and stout.
saveBlock(KEY)I am the default documentation, short and stout.
saveColorBlock(KEY)I am the default documentation, short and stout.
getSectionBlock(KEY)I am the default documentation, short and stout.
getSectionBlocks(KEY)I am the default documentation, short and stout.
getAuthorDescription(KEY)I am the default documentation, short and stout.
getPollVoter(KEY)I am the default documentation, short and stout.
savePollQuestion(KEY)I am the default documentation, short and stout.
getPollQuestionList(KEY)I am the default documentation, short and stout.
getPollAnswers(KEY)I am the default documentation, short and stout.
getPollQuestions(KEY)I am the default documentation, short and stout.
deleteStory(KEY)I am the default documentation, short and stout.
deleteStoryAll(KEY)I am the default documentation, short and stout.
setStory(KEY)I am the default documentation, short and stout.
getSubmissionLast(KEY)I am the default documentation, short and stout.
updateFormkeyId(KEY)I am the default documentation, short and stout.
createFormkey(KEY)I am the default documentation, short and stout.
checkFormkey(KEY)I am the default documentation, short and stout.
checkTimesPosted(KEY)I am the default documentation, short and stout.
formSuccess(KEY)I am the default documentation, short and stout.
formFailure(KEY)I am the default documentation, short and stout.
createAbuse(KEY)I am the default documentation, short and stout.
checkForm(KEY)I am the default documentation, short and stout.
currentAdmin(KEY)I am the default documentation, short and stout.
getTopNewsstoryTopics(KEY)I am the default documentation, short and stout.
getPoll(KEY)I am the default documentation, short and stout.
getSubmissionsSections(KEY)I am the default documentation, short and stout.
getSubmissionsPending(KEY)I am the default documentation, short and stout.
getSubmissionCount(KEY)I am the default documentation, short and stout.
getPortals(KEY)I am the default documentation, short and stout.
getPortalsCommon(KEY)I am the default documentation, short and stout.
countComments(KEY)I am the default documentation, short and stout.
countStory(KEY)I am the default documentation, short and stout.
checkForMetaModerator(KEY)I am the default documentation, short and stout.
getAuthorNames(KEY)I am the default documentation, short and stout.
getStoryByTime(KEY)I am the default documentation, short and stout.
countStories(KEY)I am the default documentation, short and stout.
setModeratorVotes(KEY)I am the default documentation, short and stout.
setMetaMod(KEY)I am the default documentation, short and stout.
getModeratorLast(KEY)I am the default documentation, short and stout.
getModeratorLogRandom(KEY)I am the default documentation, short and stout.
countUsers(KEY)I am the default documentation, short and stout.
countStoriesStuff(KEY)I am the default documentation, short and stout.
countStoriesAuthors(KEY)I am the default documentation, short and stout.
countPollquestions(KEY)I am the default documentation, short and stout.
createVar(KEY)I am the default documentation, short and stout.
deleteVar(KEY)I am the default documentation, short and stout.
setCommentCleanup(KEY)I am the default documentation, short and stout.
countUsersIndexExboxesByBid(KEY)I am the default documentation, short and stout.
getCommentReply(KEY)I am the default documentation, short and stout.
getCommentsForUser(KEY)I am the default documentation, short and stout.
getComments(KEY)I am the default documentation, short and stout.
getStoriesEssentials(KEY)Get basic information about stories, suitable for displaying headline type information and designed to be fed to getOlderStories.
getCommentsTop(KEY)I am the default documentation, short and stout.
getQuickies(KEY)I am the default documentation, short and stout.
setQuickies(KEY)I am the default documentation, short and stout.
getSubmissionForUser(KEY)I am the default documentation, short and stout.
getIsTroll(KEY)I am the default documentation, short and stout.
createDiscussion(KEY)I am the default documentation, short and stout.
createStory(KEY)I am the default documentation, short and stout.
updateStory(KEY)I am the default documentation, short and stout.
getSlashConf(KEY)I am the default documentation, short and stout.
autoUrl(KEY)I am the default documentation, short and stout.
getUrlFromTitle(KEY)I am the default documentation, short and stout.
getTime(KEY)I am the default documentation, short and stout.
getDay(KEY)I am the default documentation, short and stout.
getStoryList(KEY)I am the default documentation, short and stout.
getPollVotesMax(KEY)I am the default documentation, short and stout.
getStory(KEY)I am the default documentation, short and stout.
getAuthor(KEY)I am the default documentation, short and stout.
getAuthors(KEY)I am the default documentation, short and stout.
getPollQuestion(KEY)I am the default documentation, short and stout.
getDiscussion(KEY)I am the default documentation, short and stout.
getBlock(KEY)I am the default documentation, short and stout.
getTemplate(KEY)I am the default documentation, short and stout.
getTemplateByName(KEY)I am the default documentation, short and stout.
getTopic(KEY)I am the default documentation, short and stout.
getTopics(KEY)I am the default documentation, short and stout.
getTemplates(KEY)I am the default documentation, short and stout.
getContentFilter(KEY)I am the default documentation, short and stout.
getSubmission(KEY)I am the default documentation, short and stout.
getSection(KEY)I am the default documentation, short and stout.
getSections(KEY)I am the default documentation, short and stout.
getModeratorLog(KEY)I am the default documentation, short and stout.
getNewStory(KEY)I am the default documentation, short and stout.
getVar(KEY)I am the default documentation, short and stout.
setUser(KEY)I am the default documentation, short and stout.
getUser(KEY)I am the default documentation, short and stout.
getStories(KEY)I am the default documentation, short and stout.
getSessions(KEY)I am the default documentation, short and stout.
createBlock(KEY)I am the default documentation, short and stout.
createTemplate(KEY)I am the default documentation, short and stout.
createMenuItem(KEY)I am the default documentation, short and stout.
getMenuItems(KEY)I am the default documentation, short and stout.
getMenus(KEY)I am the default documentation, short and stout.
sqlReplace(KEY)I am the default documentation, short and stout.
getKeys(KEY)I am the default documentation, short and stout.
sqlTableExists(KEY)I am the default documentation, short and stout.
sqlSelectColumns(KEY)I am the default documentation, short and stout.
generatesession(KEY)I am the default documentation, short and stout.
Slash(3), Slash::DB::Utility(3).