File/init-delivery.php

Description
Includes
 require_once ('config.inc.php') (line 37)
Functions
generateUniqueId (line 82)

Generate a unique ID (used for the ID for unique users)

  • return: Unique MD5 string
string generateUniqueId ()
getMemoryUsage (line 125)

Get the amount of bytes of memory usage at this particular moment.

  • return: The total number of bytes that this PHP process is currently using.
int getMemoryUsage ()
removeSpecialChars (line 57)

Remove an assortment of special characters from a variable or array:

  1. Strip slashes if magic quotes are turned on.

2. Strip out any HTML 3. Strip out any CRLF 4. Remove any white space

  • return: minus any special quotes.
  • access: public
string removeSpecialChars (string &$var)
  • string $var: The variable to process.
startBenchmark (line 93)

Start benchmarking, if it is turned on

void startBenchmark (array $conf, object $timer)
  • array $conf: The configuration array
  • object $timer: The timer object from Pear
stopBenchmark (line 110)

Stop benchmarking, if it is turned on

void stopBenchmark (array $conf, object $timer)
  • array $conf: The configuration array
  • object $timer: The timer object from Pear

Documentation generated on Fri, 11 Feb 2005 18:13:26 +0000 by phpDocumentor 1.3.0RC3