File/includes/class_core.php

Description
Classes
Class Description
 class vB_Database Class to interface with a database
 class vB_Database_MySQLi Class to interface with a MySQL 4.1 database
 class vB_Datastore Class for fetching and initializing the vBulletin datastore from the database
 class vB_Input_Cleaner Class to handle and sanitize variables from GET, POST and COOKIE etc
 class vB_Registry Class to store commonly-used variables
 class vB_Session Class to handle sessions
 class vB_Shutdown Class to handle shutdown
 class vB_Template This class implements variable-registration-based template evaluation, wrapped around the legacy template format. It will be extended in the future to support the new format/syntax without requiring changes to code written with it.
 class vB_Template_Runtime
Constants
ALLOW_BBCODE_ALIGN = 16 (line 31)

These make up the bit field to disable specific types of BB codes.

ALLOW_BBCODE_BASIC = 1 (line 27)

These make up the bit field to disable specific types of BB codes.

ALLOW_BBCODE_CODE = 128 (line 34)

These make up the bit field to disable specific types of BB codes.

ALLOW_BBCODE_COLOR = 2 (line 28)

These make up the bit field to disable specific types of BB codes.

ALLOW_BBCODE_CUSTOM = 4096 (line 39)

These make up the bit field to disable specific types of BB codes.

ALLOW_BBCODE_FONT = 8 (line 30)

These make up the bit field to disable specific types of BB codes.

ALLOW_BBCODE_HTML = 512 (line 36)

These make up the bit field to disable specific types of BB codes.

ALLOW_BBCODE_IMG = 1024 (line 37)

These make up the bit field to disable specific types of BB codes.

ALLOW_BBCODE_LIST = 32 (line 32)

These make up the bit field to disable specific types of BB codes.

ALLOW_BBCODE_PHP = 256 (line 35)

These make up the bit field to disable specific types of BB codes.

ALLOW_BBCODE_QUOTE = 2048 (line 38)

These make up the bit field to disable specific types of BB codes.

ALLOW_BBCODE_SIZE = 4 (line 29)

These make up the bit field to disable specific types of BB codes.

ALLOW_BBCODE_URL = 64 (line 33)

These make up the bit field to disable specific types of BB codes.

BBCODE_HAS_ATTACH = 2 (line 46)

These make up the bit field to control what "special" BB codes are found in the text.

BBCODE_HAS_IMG = 1 (line 45)

These make up the bit field to control what "special" BB codes are found in the text.

BBCODE_HAS_SIGPIC = 4 (line 47)

These make up the bit field to control what "special" BB codes are found in the text.

DBARRAY_ASSOC = 1 (line 66)

The type of result set to return from the database for a specific row.

DBARRAY_BOTH = 0 (line 65)

The type of result set to return from the database for a specific row.

DBARRAY_NUM = 2 (line 67)

The type of result set to return from the database for a specific row.

FILE = TYPE_FILE (line 1688)
FILE_VERSION = '4.0.3' (line 13)
FIXED_SIZE_AVATAR_HEIGHT = 80 (line 21)

The maximum sizes for the "small" profile avatars

FIXED_SIZE_AVATAR_WIDTH = 60 (line 20)

The maximum sizes for the "small" profile avatars

INT = TYPE_INT (line 1685)
POST_FLAG_ATTACH = 4 (line 55)

Bitfield values for the inline moderation javascript selector which should be self-explanitory

POST_FLAG_DELETED = 2 (line 54)

Bitfield values for the inline moderation javascript selector which should be self-explanitory

POST_FLAG_GUEST = 8 (line 56)

Bitfield values for the inline moderation javascript selector which should be self-explanitory

POST_FLAG_INVISIBLE = 1 (line 53)

Bitfield values for the inline moderation javascript selector which should be self-explanitory

SIMPLE_VERSION = '403' (line 14)
STR = TYPE_STR (line 1686)
STR_NOHTML = TYPE_NOHTML (line 1687)
TYPE_ARRAY = 10 (line 1658)

Ways of cleaning input. Should be mostly self-explanatory.

TYPE_ARRAY_ARRAY = 110 (line 1672)

Ways of cleaning input. Should be mostly self-explanatory.

TYPE_ARRAY_BINARY = 112 (line 1674)

Ways of cleaning input. Should be mostly self-explanatory.

TYPE_ARRAY_BOOL = 101 (line 1663)

Ways of cleaning input. Should be mostly self-explanatory.

TYPE_ARRAY_FILE = 11 (line 1673)

Ways of cleaning input. Should be mostly self-explanatory.

TYPE_ARRAY_INT = 102 (line 1664)

Ways of cleaning input. Should be mostly self-explanatory.

TYPE_ARRAY_KEYS_INT = 202 (line 1677)

Ways of cleaning input. Should be mostly self-explanatory.

TYPE_ARRAY_KEYS_STR = 207 (line 1678)

Ways of cleaning input. Should be mostly self-explanatory.

TYPE_ARRAY_NOHTML = 109 (line 1671)

Ways of cleaning input. Should be mostly self-explanatory.

TYPE_ARRAY_NOHTMLCOND = 113 (line 1675)

Ways of cleaning input. Should be mostly self-explanatory.

TYPE_ARRAY_NOTRIM = 108 (line 1670)

Ways of cleaning input. Should be mostly self-explanatory.

TYPE_ARRAY_NUM = 104 (line 1666)

Ways of cleaning input. Should be mostly self-explanatory.

TYPE_ARRAY_STR = 107 (line 1669)

Ways of cleaning input. Should be mostly self-explanatory.

TYPE_ARRAY_UINT = 103 (line 1665)

Ways of cleaning input. Should be mostly self-explanatory.

TYPE_ARRAY_UNIXTIME = 106 (line 1668)

Ways of cleaning input. Should be mostly self-explanatory.

TYPE_ARRAY_UNUM = 105 (line 1667)

Ways of cleaning input. Should be mostly self-explanatory.

TYPE_BINARY = 12 (line 1660)

Ways of cleaning input. Should be mostly self-explanatory.

TYPE_BOOL = 1 (line 1649)

Ways of cleaning input. Should be mostly self-explanatory.

TYPE_CONVERT_KEYS = 200 (line 1681)

Ways of cleaning input. Should be mostly self-explanatory.

TYPE_CONVERT_SINGLE = 100 (line 1680)

Ways of cleaning input. Should be mostly self-explanatory.

TYPE_FILE = 11 (line 1659)

Ways of cleaning input. Should be mostly self-explanatory.

TYPE_INT = 2 (line 1650)

Ways of cleaning input. Should be mostly self-explanatory.

TYPE_NOCLEAN = 0 (line 1647)

Ways of cleaning input. Should be mostly self-explanatory.

TYPE_NOHTML = 9 (line 1657)

Ways of cleaning input. Should be mostly self-explanatory.

TYPE_NOHTMLCOND = 13 (line 1661)

Ways of cleaning input. Should be mostly self-explanatory.

TYPE_NOTRIM = 8 (line 1656)

Ways of cleaning input. Should be mostly self-explanatory.

TYPE_NUM = 4 (line 1652)

Ways of cleaning input. Should be mostly self-explanatory.

TYPE_STR = 7 (line 1655)

Ways of cleaning input. Should be mostly self-explanatory.

TYPE_UINT = 3 (line 1651)

Ways of cleaning input. Should be mostly self-explanatory.

TYPE_UNIXTIME = 6 (line 1654)

Ways of cleaning input. Should be mostly self-explanatory.

TYPE_UNUM = 5 (line 1653)

Ways of cleaning input. Should be mostly self-explanatory.

YUI_VERSION = '2.7.0' (line 15)
Functions
catch_db_error (line 4432)

Feeds database connection errors into the halt() method of the vB_Database class.

void catch_db_error (integer $errno, string $errstr, strig $errfile, integer $errline)
  • integer $errno: Error number
  • string $errstr: PHP error text string
  • strig $errfile: File that contained the error
  • integer $errline: Line in the file that contained the error
htmlspecialchars_uni (line 4527)

Unicode-safe version of htmlspecialchars()

string htmlspecialchars_uni (string $text, [ $entities = true])
  • string $text: Text to be made html-safe
  • $entities
vb_error_handler (line 4462)

Removes the full path from being disclosed on any errors

void vb_error_handler (integer $errno, string $errstr, strig $errfile, integer $errline)
  • integer $errno: Error number
  • string $errstr: PHP error text string
  • strig $errfile: File that contained the error
  • integer $errline: Line in the file that contained the error

Documentation generated on Tue, 26 Jan 2010 15:15:04 -0600 by phpDocumentor 1.4.3