Tammy
@tammy
Moderator
Member
Joined: Apr 27, 2005
Topics: 117 / Replies: 2460
Reply
build_alphalinks

==build_alphalinks==This function is used to build the alphabet links list on pages such as Browse Titles and Authors.  Twoarguments are passed t...

19 years ago
Forum
Reply
isNumber

==isNumber==This function is passed a variable and returns true if the variable is an integer number.  Use this to checkinput from users, especia...

19 years ago
Forum
Reply
write_error

==write_error==This function is used whenever an error needs to be output to the screen.  This allows a uniform lookfor all error messages on the...

19 years ago
Forum
Reply
write_message

==write_message==This function is used whenever a message needs to be output to the screen.  This allows a uniform lookfor all messages on the si...

19 years ago
Forum
Reply
replace_naughty

==replace_naughty==This function when passed a piece of text replaces words from the forbidden word list with the first letter and trailing asterisks:...

19 years ago
Forum
Reply
find_naughty

==find_naughty==This function when passed a piece of text returns true if words from the forbidden words list are found in the text.  Nothing is ...

19 years ago
Forum
Reply
truncate_text

==truncate_text==This function takes a piece of text and truncates it to the desired length truncating at the end of the word instead of in the middle...

19 years ago
Forum
Reply
author_link

==author_link==This function takes an array of information about a story and formats the authors link to include both authorand co-authors with links ...

19 years ago
Forum
Reply
title_link

==title_link==This function takes an array of information about a story and formats the link to the title with the appropriatejavascript for age conse...

19 years ago
Forum
Reply
format_email

==format_email==This function displays emails replacing the @ and . symbols with [at] and [dot] to help foil spam bots.Example: $email = format_email(...

19 years ago
Forum
Reply
escapestring

==escapestring==Use this function when adding data to the database to escape characters.Example:$result = dbquery("INSERT INTO testtable(`id`, `v...

19 years ago
Forum
Reply
format_story

==format_story==This function is used to display text information including story chapters, notes, and news items.  The function determines if th...

19 years ago
Forum
Reply
accessDenied

==accessDenied==If you must check for permissions, use this function when the check fails and the user is denied permission.This will output the messa...

19 years ago
Forum
Reply
descript

==descript==Use this function to sanitize form input to keep people from posting scripts and other dangerous content.Example:$summary = descript($_POS...

19 years ago
Forum
Reply
recurseCategories

==recurseCategories==This function creates an array of categories and sub-categories.  You may pass either an array of multiple categories or a s...

19 years ago
Forum
Page 153 / 172