- NAME
- SYNOPSIS
- DESCRIPTION
- FUNCTIONS
- printComments(SID [, PID, CID])
- moderatorCommentLog(SID, CID)
- displayThread(SID, PID, LVL, COMMENTS)
dispComment(COMMENT)
- dispStory(STORY, AUTHOR, TOPIC, FULL)
- displayStory(SID, FULL)
- getOlderStories(STORIES, SECTION)
- getData(VALUE [, PARAMETERS, PAGE])
- BENDER'S TOP TEN MOST FREQUENTLY UTTERED WORDS
Slash - the BEAST
use Slash; # figure the rest out ;-)
Slash is the code that runs Slashdot.
Prints all that comment stuff.
- Parameters
-
- SID
-
The story ID to print comments for.
- PID
-
The parent ID of the comments to print.
- CID
-
The comment ID to print.
- Return value
-
None.
- Dependencies
-
The 'printCommentsMain', 'printCommNoArchive',
and 'printCommComments' template blocks.
Prints a table detailing the history of moderation of
a particular comment.
- Parameters
-
- SID
-
Comment's story ID.
- CID
-
Comment's ID.
- Return value
-
The HTML.
- Dependencies
-
The 'modCommentLog' template block.
Displays an entire thread. w00p!
- Parameters
-
- SID
-
The story ID.
- PID
-
The parent ID.
- LVL
-
What level of the thread we're at.
- COMMENTS
-
Arrayref of all our comments.
- Return value
-
The thread.
- Dependencies
-
The 'displayThread' template block.
Displays a particular comment.
- Parameters
-
- COMMENT
-
Hashref of comment data.
If the 'no_moderation' key of the COMMENT hashref exists, the
moderation elements of the comment will not be displayed.
- Return value
-
The comment to display.
- Dependencies
-
The 'dispComment' template block.
Display a story.
- Parameters
-
- STORY
-
Hashref of data about the story.
- AUTHOR
-
Hashref of data about the story's author.
- TOPIC
-
Hashref of data about the story's topic.
- FULL
-
Boolean for show full story, or just the
introtext portion.
- Return value
-
Story to display.
- Dependencies
-
The 'dispStory' template block.
Display a story by SID (frontend to dispStory).
- Parameters
-
- SID
-
Story ID to display.
- FULL
-
Boolean for show full story, or just the
introtext portion.
- Return value
-
A list of story to display, hashref of story data,
hashref of author data, and hashref of topic data.
Get older stories for older stories box.
- Parameters
-
- STORIES
-
Array ref of the ``essentials'' of the stories to display, gotten from
getStoriesEssentials.
- SECTION
-
Hashref of section data.
- Return value
-
The older stories.
- Dependencies
-
The 'getOlderStories' template block.
Returns snippets of data associated with a given page.
- Parameters
-
- VALUE
-
The name of the data-snippet to process and retrieve.
- PARAMETERS
-
Data stored in a hashref which is to be passed to the retrieved snippet.
- PAGE
-
The name of the page to which VALUE is associated.
- Return value
-
Returns data snippet with all necessary data interpolated.
- Dependencies
-
Gets little snippets of data, determined by the value parameter, from
a data template. A data template is a colletion of data snippets
in one template, which are grouped together for efficiency. Each
script can have it's own data template (specified by the PAGE
parameter). If PAGE is unspecified, snippets will be retrieved from
the last page visited by the user as determined by Slash::Apache::User.
-
ass
-
daffodil
-
shiny
-
my
-
bite
-
pimpmobile
-
up
-
yours
-
chumpette
-
chump