/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.

  • author: Kevin Papst
  • version: $Id: constants.inc.php,v 1.39 2008/02/29 16:28:27 kpapst Exp $
  • copyright: Copyright (C) Kevin Papst
  • license: GNU Public License
Constants
E_DEBUG = 4096 (line 165)

This Constants defines that all Log Messages will be shown.

E_SQL = 8192 (line 169)

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

FLAG_HIDDEN = 2 (line 152)

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

Unlike administration where all Items will be displayed.

FLAG_NORMAL = 0 (line 161)

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

FLAG_TRASH = 1 (line 157)

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

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

ITEM_LOAD_LIGHT = 'light' (line 147)

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

ORDER_COLUMN_POSITION = 'num_4' (line 139)

This Columns holds the Items Order Position information.

_AID_ = '2' (line 51)

Anonymous User ID

_BIGACE_BUILD_ID = 'final' (line 47)

Bigace Build ID.

_BIGACE_CMD_ADMIN = 'admin' (line 107)

Admin Command

_BIGACE_CMD_EDITOR = 'editor' (line 111)

Editor Command

_BIGACE_CMD_FILE = 'file' (line 103)

File Command (Itemtype 5)

_BIGACE_CMD_IMAGE = 'image' (line 99)

Image Command (Itemtype 4)

_BIGACE_CMD_SMARTY = 'smarty' (line 91)

Smarty Command (Itemtype 1)

_BIGACE_DEFAULT_RIGHT_DIRECTORY = 0777 (line 184)

Defines the default Permissions when creating a Directory.

Default:

  1. 0777

_BIGACE_DEFAULT_UMASK_DIRECTORY = 0 (line 179)

Defines the default Umask when creating or copying a Directory.

Default:

  1. 0

_BIGACE_DEFAULT_UMASK_FILE = 0 (line 174)

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

Default:

  1. 0

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

The Root Directory of the BIGACE installation .

_BIGACE_FRIGHT_ADMIN_ITEMS = 'admin_items' (line 135)

The Fright name that defines the Administration of Items.

_BIGACE_FRIGHT_ADMIN_MENUS = 'admin_menus' (line 131)

The Fright name that defines the Administration of Menus.

_BIGACE_FRIGHT_USE_EDITOR = 'use_editor' (line 127)

The Fright name that defines the Editor access.

_BIGACE_ID = '2.4' (line 43)

Bigace Version ID

_BIGACE_ITEM_FILE = 5 (line 123)

Itemtype File.

_BIGACE_ITEM_IMAGE = 4 (line 119)

Itemtype Image.

_BIGACE_ITEM_MENU = 1 (line 115)

Itemtype Menu.

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

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

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.

Documentation generated by phpDocumentor 1.4.0