/include/main.php

Description

Main include file for the framework. Manages the relationships between the other include files, and defines the most important functions.

$Id: main.php 603 2006-06-19 08:52:49Z stijn $

Includes
require ('db_postgresql.php') (line 34)
require ('misc.php') (line 38)
require ('sitepath.php') (line 39)
require ('config.php') (line 35)
require ('database.php') (line 31)
require ('striptags.php') (line 36)
require ('debug.php') (line 37)
require ('session.php') (line 40)
require ('login.php') (line 43)
require ('state.php') (line 41)
require ('user.php') (line 42)
require ('extensions.php') (line 46)
require ('time.php') (line 28)
require ('db_mysql.php') (line 33)
require ('boxes.php') (line 44)
require ('themes.php') (line 45)
require ('db.php') (line 32)
Constants
SWSVERSION = '0.5.3' (line 14)

The SWS version.

Functions
post (line 159)

Output the post-content section of the page.

This is almost always a simple footer, as defined by the theme.

void post ()
pre (line 87)

Output the pre-content section of the page.

The heart of SWS, this function sets allmost all SWS specific functions in motion. See the main documentation for an overview of what this does.

void pre ([string $title = "Untitled"], [array $options = array()])
  • string $title: the title of the current page
  • array $options: the hash of options for this page
swsroot (line 20)

Return the path to the SWS root directory.

  • return: the path to the SWS root directory
string swsroot ()

Documentation generated on Fri, 30 Jun 2006 10:31:38 +0200 by phpDocumentor 1.3.0RC3