/CORE/system/libs/constants.inc.php

Description

This File defines all common Constants.

All of these Constants must NOT be modified, since they are important for the CMS CORE.

All keys that might be changed can be found in:

  1. /system/config/config.system.php

For further information visit http://www.bigace.de.

  • version: $Id: constants.inc.php,v 1.27 2006/11/26 22:04:19 kpapst Exp $
  • copyright: Copyright (C) 2002-2006 Kevin Papst
  • author: Kevin Papst
  • license: GNU Public License
Constants
E_DEBUG = 4096 (line 161)

This Constants defines that all Log Messages will be shown.

E_SQL = 8192 (line 165)

Setting this Constants, causes the Logger to dump even the executed SQL Commands.

FLAG_HIDDEN = 2 (line 148)

Flag indicating that the Item should be hidden within "normal" navigation structures.

Unlike administration where all Items will be displayed.

FLAG_NORMAL = 0 (line 157)

Flag indicating that the Item status is normal. This is the default status.

FLAG_TRASH = 1 (line 153)

Flag indicating that the Item is trashed.

Trashed Items are deleted but not physically removed (this function is currently not yet implemented).

ITEM_LOAD_FULL = 'full' (line 139)

Flag used to identify a full Item request. Example: "SELECT * FROM item_x"

ITEM_LOAD_LIGHT = 'light' (line 143)

Flag used to identify a "light version of an Item. Example: "SELECT id,name,parent FROM item_x"

ORDER_COLUMN_POSITION = 'num_4' (line 135)

This Columns holds the Items Order Position information.

_AID_ = '2' (line 47)

Anonymous User ID

_BIGACE_CMD_ADMIN = 'admin' (line 103)

Admin Command

_BIGACE_CMD_EDITOR = 'editor' (line 107)

Editor Command

_BIGACE_CMD_FILE = 'file' (line 99)

File Command (Itemtype 5)

_BIGACE_CMD_IMAGE = 'image' (line 95)

Image Command (Itemtype 4)

_BIGACE_CMD_MENU = 'menu' (line 91)

Menu Command (Itemtype 1)

_BIGACE_DEFAULT_RIGHT_DIRECTORY = 0777 (line 180)

Defines the default Permissions when creating a Directory.

Default:

  1. 0777

_BIGACE_DEFAULT_UMASK_DIRECTORY = 0 (line 175)

Defines the default Umask when creating or copying a Directory.

Default:

  1. 0

_BIGACE_DEFAULT_UMASK_FILE = 0 (line 170)

Defines the default Umask to be used when creating or copying Files.

Default:

  1. 0

_BIGACE_DIR_ROOT = realpath(dirname(__FILE__).'/../../') (line 184)

The Root Directory of the BIGACE installation .

_BIGACE_FRIGHT_ADMIN_ITEMS = 'admin_items' (line 131)

The Fright name that defines the Administration of Items.

_BIGACE_FRIGHT_ADMIN_MENUS = 'admin_menus' (line 127)

The Fright name that defines the Administration of Menus.

_BIGACE_FRIGHT_USE_EDITOR = 'use_editor' (line 123)

The Fright name that defines the Editor access.

_BIGACE_ID = '2.0' (line 43)

Bigace Version ID

_BIGACE_ITEM_FILE = 5 (line 119)

Itemtype File.

_BIGACE_ITEM_IMAGE = 4 (line 115)

Itemtype Image.

_BIGACE_ITEM_MENU = 1 (line 111)

Itemtype Menu.

_BIGACE_LANGUAGE_PATH = _BIGACE_DIR_ROOT.'/system/language/' (line 189)

Language Pack Directory.

In this directory all Language definitions and translations are stored.

_BIGACE_RIGHTS_DELETE = 4 (line 83)

Value defining that the User has DELETE rights.

_BIGACE_RIGHTS_NO = 0 (line 67)

Value defining that the User has NO rights.

_BIGACE_RIGHTS_READ = 1 (line 71)

Value defining that the User has READ rights.

_BIGACE_RIGHTS_RW = 3 (line 79)

Value defining that the User has READ + WRITE rights.

_BIGACE_RIGHTS_RWD = 7 (line 87)

Value defining that the User has READ + WRITE + DELETE rights.

_BIGACE_RIGHTS_WRITE = 2 (line 75)

Value defining that the User has WRITE rights.

_BIGACE_SUPER_ADMIN = 1 (line 51)

Super (Admin) User ID

_BIGACE_TOP_LEVEL = -1 (line 59)

The ID of the TOP-LEVEL Items for all Itemtypes.

_BIGACE_TOP_PARENT = -9999 (line 63)

Defines the Parent ID of the TOP-LEVEL Items. Can be used for (as example) checks when reading (recursive) Trees.

_BIGACE_USER_ACTIVE_ID = 1 (line 55)

Status defines that the User is activated within BIGACE.

Documentation generated by phpDocumentor 1.3.1