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
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 65)

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

DBARRAY_BOTH = 0 (line 64)

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

DBARRAY_NUM = 2 (line 66)

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

FILE = TYPE_FILE (line 1485)
FILE_VERSION = '3.7.0' (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 1482)
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 = '370' (line 14)
STR = TYPE_STR (line 1483)
STR_NOHTML = TYPE_NOHTML (line 1484)
TYPE_ARRAY = 10 (line 1455)

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

TYPE_ARRAY_ARRAY = 110 (line 1469)

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

TYPE_ARRAY_BINARY = 112 (line 1471)

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

TYPE_ARRAY_BOOL = 101 (line 1460)

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

TYPE_ARRAY_FILE = 11 (line 1470)

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

TYPE_ARRAY_INT = 102 (line 1461)

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

TYPE_ARRAY_KEYS_INT = 202 (line 1474)

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

TYPE_ARRAY_KEYS_STR = 207 (line 1475)

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

TYPE_ARRAY_NOHTML = 109 (line 1468)

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

TYPE_ARRAY_NOHTMLCOND = 113 (line 1472)

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

TYPE_ARRAY_NOTRIM = 108 (line 1467)

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

TYPE_ARRAY_NUM = 104 (line 1463)

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

TYPE_ARRAY_STR = 107 (line 1466)

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

TYPE_ARRAY_UINT = 103 (line 1462)

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

TYPE_ARRAY_UNIXTIME = 106 (line 1465)

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

TYPE_ARRAY_UNUM = 105 (line 1464)

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

TYPE_BINARY = 12 (line 1457)

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

TYPE_BOOL = 1 (line 1446)

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

TYPE_CONVERT_KEYS = 200 (line 1478)

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

TYPE_CONVERT_SINGLE = 100 (line 1477)

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

TYPE_FILE = 11 (line 1456)

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

TYPE_INT = 2 (line 1447)

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

TYPE_NOCLEAN = 0 (line 1444)

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

TYPE_NOHTML = 9 (line 1454)

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

TYPE_NOHTMLCOND = 13 (line 1458)

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

TYPE_NOTRIM = 8 (line 1453)

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

TYPE_NUM = 4 (line 1449)

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

TYPE_STR = 7 (line 1452)

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

TYPE_UINT = 3 (line 1448)

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

TYPE_UNIXTIME = 6 (line 1451)

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

TYPE_UNUM = 5 (line 1450)

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

YUI_VERSION = '2.5.1' (line 15)
Functions
catch_db_error (line 3188)

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 3283)

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 3218)

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 Fri, 09 May 2008 09:00:56 -0500 by phpDocumentor 1.4.1