Full index

Package indexes


a b c d e f g h i l m n o p q r s t u v w
a
top
$aff
db_result::$aff in db.php
addBox
addBox() in boxes.php
Include the template for a specific box on a page.
addExtension
addExtension() in extensions.php
Include the template for a specific extension on a page.
addSlash
addSlash() in config.php
Make sure that a string ends in a slash.
affected_rows
Returns the number of affected rows of the query.
allowInsecureLogin
Returns true if insecure logins are allowed.
b
top
begin_transaction
begin_transaction
begin_transaction
Begin a database transaction.
boxEnd
boxEnd() in index.php
End a page element.
boxFortune
boxFortune() in index.php
Display a fortune box.
boxMisc
boxMisc() in index.php
Display a page element with logos.
boxStart
boxStart() in index.php
Start a page element.
boxes.php
boxes.php in boxes.php
c
top
$conn
changePassword
changePassword() in login.php
Allows users to change their password before continuing the page.
close
db_postgresql::close() in db_postgresql.php
close
db_mysql::close() in db_mysql.php
close
db::close() in db.php
Closes the database connection.
commit
db_postgresql::commit() in db_postgresql.php
commit
db_mysql::commit() in db_mysql.php
commit
db::commit() in db.php
Commit to a database transaction.
completeEncryptedMe
Return the complete URL to the current page, including the query string, prefixed with 'https://'.
completeMe
completeMe() in misc.php
Return the complete URL to the current page, including the query string but without the 'http://' part.
completeQualifiedMe
Return the complete URL to the current page, including the query string and the 'http://' or 'https://' part.
CONFIGFILE
CONFIGFILE in config.php
The name of the configuration file. Primarily used to override it when running tests.
configPath
configPath() in config.php
Determine the path to the framework wide configuration files.
connect
db_postgresql::connect() in db_postgresql.php
connect
db_mysql::connect() in db_mysql.php
config.php
config.php in config.php
d
top
db
db in db.php
Class representing a connection to a database.
db_get_object
db_get_object() in database.php
Return a connected database object.
db_get_parameters
db_get_parameters() in database.php
Retrieve configured database parameters for a database.
db_get_sws_privileged_object
Returns a privileged connection to the SWS database. Obviously only works if the caller is allowed access (this might not be the case in a secure virtual host setup).
db_mysql
db_mysql in db_mysql.php
Class representing a connection to a MySQL database.
db_mysql_result
db_mysql_result in db_mysql.php
Class representing a query result for a MySQL database.
DB_NOT_CONNECTED
DB_NOT_CONNECTED in database.php
Database connection failed status code.
DB_NOT_SUPPORTED
DB_NOT_SUPPORTED in database.php
Database type not supported status code.
DB_OK
DB_OK in database.php
Database connection ok status code.
db_postgresql
db_postgresql in db_postgresql.php
Class representing a connection to a PostgreSQL database.
db_postgresql_result
db_postgresql_result in db_postgresql.php
Class representing a query result for a PostgreSQL database.
db_result
db_result in db.php
Class representing a query result for a database.
debug
debug() in debug.php
Print a debug message.
debugging_on
debugging_on() in debug.php
Check whether a site wants debugging information.
defaultBackURL
defaultBackURL() in login.php
Default redirect url for login procedures, for when a user explicitly requests a login or logout page and so we don't know where to go at the end of the request.
defaultTheme
defaultTheme() in themes.php
Determine the name of the default theme.
determineVhost
determineVhost() in config.php
Determine the correct SWS vhost for a request.
database.php
database.php in database.php
db_mysql.php
db_mysql.php in db_mysql.php
db.php
db.php in db.php
db_postgresql.php
db_postgresql.php in db_postgresql.php
debug.php
debug.php in debug.php
e
top
encryptedMe
encryptedMe() in misc.php
Return the complete URL to the current page, without the query string, prefixed with 'https://'.
encryptProtocol
encryptProtocol() in misc.php
Redirect the user to the encrypted version of the current URL.
err_backtrace
err_backtrace() in debug.php
Print out a pretty stack backtrace prefixed with a message.
extensions.php
extensions.php in extensions.php
f
top
fetch_array
fetch_array
fetch_array
Fetches a record as an associative array from a result set.
FETCH_ASSOC
FETCH_ASSOC in database.php
Use only associative arrays for query result sets.
FETCH_BOTH
FETCH_BOTH in database.php
Use both associative and numerical indices for query result sets.
FETCH_NEXTROW
FETCH_NEXTROW in database.php
Next row value.
FETCH_NUM
FETCH_NUM in database.php
Use a numerically indexed array for query result sets.
field_name
field_name
Returns the name of the specified field number in the result set.
field_name
field_type
field_type
Returns the type of the specified field number in the result set.
field_type
findBaseURL
findBaseURL() in config.php
Returns the computed base URL for a subsite.
free_result
free_result
Frees the memory used by the query result.
free_result
g
top
getBacklink
getBacklink() in sitepath.php
Compute the link to one directory level up for an URL
getIndex
getIndex() in sitepath.php
Return the (topic, title) array for the given directory index
getmicrotime
getmicrotime() in time.php
Return the current time in microseconds.
getParams
getParams() in user.php
Returns application specific session data.
getPathInfo
getPathInfo() in sitepath.php
Return an array with breadcrumb info.
getReferrer
getReferrer() in misc.php
Return the canonicalized referrer of the current webpage.
getTopics
getTopics() in sitepath.php
Returns all topics based on the current URL.
getURLTitle
getURLTitle() in sitepath.php
Return the title for an URL.
getUserURL
getUserURL() in misc.php
Return the base URL for the user site if the current request is for a user site.
getUserUser
getUserUser() in misc.php
Return a username if the current request is for a user site.
h
top
hasParams
hasParams() in user.php
Determines whether the specified application has data stored in the application specific session variable.
hasPriv
hasPriv() in login.php
Determine whether the current user has a certain privilege (out of a set).
i
top
$ign
db::$ign in db.php
$ign
db_result::$ign in db.php
index.php
index.php in index.php
index.php
index.php in index.php
index.php
index.php in index.php
index.php
index.php in index.php
ignore_errors
Set whether errors are fatal.
index.php
index.php in index.php
index.php
index.php in index.php
l
top
login.php
login.php in login.php
last_insert_id
Returns the last inserted id for the specified column and table.
last_insert_id
last_insert_id
listPrivs
listPrivs() in login.php
List privileges for a user.
loadTheme
loadTheme() in themes.php
Loads the indicated theme.
loggedIn
loggedIn() in login.php
Returns true if a user is succesfully authenticated.
loginForm
loginForm() in index.php
Output a login form.
LOGIN_CONFIG
LOGIN_CONFIG in login.php
Login configuration error status code.
LOGIN_EXPIRED
LOGIN_EXPIRED in login.php
Authentication expired status code.
LOGIN_FAILED
LOGIN_FAILED in login.php
Failed login status code.
login.php
login.php in login.php
logout.php
logout.php in logout.php
LOGIN_PRIVS
LOGIN_PRIVS in login.php
Not enough privileges status code.
LOGIN_REQUIRED
LOGIN_REQUIRED in login.php
Login required status code.
logout
logout() in login.php
Logs out the current user before continuing the page.
m
top
main.php
main.php in main.php
misc.php
misc.php in misc.php
makeLoginURL
makeLoginURL() in login.php
Construct the sws login related URL.
matchReferrer
matchReferrer() in misc.php
Return true if the referrer to the current page matches.
me
me() in misc.php
Return the complete URL to the current page, without the query string (if any) and without the 'http://' part.
n
top
needTheme
needTheme() in themes.php
Includes the default theme if no theme is loaded already.
normalizeURL
normalizeURL() in sitepath.php
Normalize the given URL to an URL used in the database.
NOT_CONFIGGED_FOR_HTTPS
Site configuration disallows https status value.
num_fields
Returns the number of fields per row in the result set.
num_fields
num_fields
num_rows
Returns the number of rows in the result set.
num_rows
num_rows
o
top
onLoginHost
onLoginHost() in login.php
Return true if the current request was for the login host.
p
top
password.php
password.php in password.php
parseConfig
parseConfig() in config.php
Parse a configuration file into a hash.
PASSWORD_CHANGE
PASSWORD_CHANGE in login.php
Change password status code.
PASSWORD_MISMATCH
PASSWORD_MISMATCH in login.php
Password mismatch status code.
PASSWORD_WRONG
PASSWORD_WRONG in login.php
Wrong password status code.
post
post() in main.php
Output the post-content section of the page.
postContent
postContent() in index.php
Output the HTML to be written after the content.
pre
pre() in main.php
Output the pre-content section of the page.
preContent
preContent() in index.php
Output all HTML needed before the content is output.
privInSet
privInSet() in login.php
Determine whether privilege $priv is in the set $set.
q
top
$query
qualifiedMe
qualifiedMe() in misc.php
Return the complete URL to the current page, without the query string but with the 'http://' or 'https://' part.
query
db::query() in db.php
Perform an SQL query on the database.
query
db_postgresql::query() in db_postgresql.php
query
db_mysql::query() in db_mysql.php
query_count
Returns the amount of queries performed using this connection.
quote
db_postgresql::quote() in db_postgresql.php
quote
db::quote() in db.php
Returns the SQL escaped version of the string.
quote
db_mysql::quote() in db_mysql.php
r
top
readFortune
readFortune() in index.php
Read a fortune from a file.
remoteAddress
remoteAddress() in misc.php
Return the address of the client, as specified by the client.
requireLogin
requireLogin() in login.php
Requires an authenticated user before continuing with the page.
resetParams
resetParams() in user.php
Resets the application session data.
restoreState
restoreState() in state.php
Restore previously stored state.
rollback
db_mysql::rollback() in db_mysql.php
rollback
db_postgresql::rollback() in db_postgresql.php
rollback
db::rollback() in db.php
Rollback a database transaction.
s
top
session.php
session.php in session.php
sitepath.php
sitepath.php in sitepath.php
state.php
state.php in state.php
striptags.php
striptags.php in striptags.php
saveState
saveState() in state.php
Save the current page request state using an identifier.
SESSION_LIFETIME
SESSION_LIFETIME in session.php
The lifetime of a session, in seconds.
sess_restart
sess_restart() in session.php
Restarts the current session.
setConfig
setConfig() in config.php
Process the configuration for a specific page request.
setTheme
setTheme() in themes.php
Set the theme for this page.
setThemeOptions
setThemeOptions() in index.php
Set options for the theme.
setURLTitle
setURLTitle() in sitepath.php
Set or update the title of a given URL in the database.
showImages
showImages() in index.php
Show images in a directory.
showIndex
showIndex() in index.php
Show an index of site pages in alphabetical order.
stateSaved
stateSaved() in state.php
Checks for a saved state identified by a name.
stripDoubleSlashes
stripDoubleSlashes() in sitepath.php
Strip double slashes from an URL.
stripPathInfo
stripPathInfo() in misc.php
Strip the PATH_INFO of an URL.
stripQuerystring
stripQuerystring() in misc.php
Strip the query string of an (optional) GET request URL, and return it.
stripSlash
stripSlash() in config.php
Make sure that a string does not end in a slash.
striptags
striptags() in striptags.php
Strip HTML tags from all user input.
strmicrotime
strmicrotime() in time.php
Return a printable representation of a timespan in microseconds.
SWSCONFIGDIR
SWSCONFIGDIR in config.php
The path to the SWS configuration directory, relative to subsite roots.
swsroot
swsroot() in main.php
Return the path to the SWS root directory.
SWSVERSION
SWSVERSION in main.php
The SWS version.
t
top
tar.php
tar.php in tar.php
themes.php
themes.php in themes.php
time.php
time.php in time.php
TKT_ERROR
TKT_ERROR in login.php
Ticket signature verification error code.
TKT_EXPIRED
TKT_EXPIRED in login.php
Expired ticket error code.
TKT_FALSE
TKT_FALSE in login.php
Invalid ticket signature error code.
TKT_NOTFOUND
TKT_NOTFOUND in login.php
No ticket status code
u
top
user.php
user.php in user.php
unencryptProtocol
Redirect the user to the unencrypted version of the current URL.
userEmail
userEmail() in user.php
Return the email address of either the currently authenticated or the specified user.
userId
userId() in user.php
Return the id of the currently authenticated user.
userLogin
userLogin() in user.php
Return the login name of either the currently authenticated or the specified user.
v
top
verifyTicket
verifyTicket() in login.php
Verifies and returns the user's decrypted ticket cookie.
w
top
writeTarFile
writeTarFile() in tar.php
Output a tar file.
a b c d e f g h i l m n o p q r s t u v w