Procedural File: constants.inc.php

Source Location: /CORE/system/libs/constants.inc.php

Page Details

This File defines all common Constants.

DO NOT modify, all of them are important for the CMS CORE.

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

Author:  Kevin Papst
Version:  $Id: constants.inc.php,v 1.50 2009/03/19 01:08:25 kpapst Exp $
Copyright:  Copyright (C) Kevin Papst
License:  GNU Public License
Constants
BIGACE_PLUGINS  [line 201]

BIGACE_PLUGINS = _BIGACE_DIR_ROOT.'/plugins/'

Plugin directory of the BIGACE installation.


[ Top ]

E_DEBUG  [line 162]

E_DEBUG = 4096

This Constants defines that all Log Messages will be shown.


[ Top ]

E_SQL  [line 166]

E_SQL = 8192

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


[ Top ]

FLAG_HIDDEN  [line 149]

FLAG_HIDDEN = 2

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

Unlike administration where all Items will be displayed.


[ Top ]

FLAG_NORMAL  [line 158]

FLAG_NORMAL = 0

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


[ Top ]

FLAG_TRASH  [line 154]

FLAG_TRASH = 1

Flag indicating that the Item is trashed.

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


[ Top ]

ITEM_LOAD_FULL  [line 140]

ITEM_LOAD_FULL = 'full'

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


[ Top ]

ITEM_LOAD_LIGHT  [line 144]

ITEM_LOAD_LIGHT = 'light'

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


[ Top ]

ORDER_COLUMN_POSITION  [line 136]

ORDER_COLUMN_POSITION = 'num_4'

This Columns holds the Items Order Position information.


[ Top ]

_AID_  [line 48]

_AID_ = '2'

Anonymous User ID


[ Top ]

_BIGACE_BUILD_ID  [line 44]

_BIGACE_BUILD_ID = 'final'

Bigace Build ID.


[ Top ]

_BIGACE_CMD_ADMIN  [line 104]

_BIGACE_CMD_ADMIN = 'admin'

Admin Command


[ Top ]

_BIGACE_CMD_EDITOR  [line 108]

_BIGACE_CMD_EDITOR = 'editor'

Editor Command


[ Top ]

_BIGACE_CMD_FILE  [line 100]

_BIGACE_CMD_FILE = 'file'

File Command (Itemtype 5)


[ Top ]

_BIGACE_CMD_IMAGE  [line 96]

_BIGACE_CMD_IMAGE = 'image'

Image Command (Itemtype 4)


[ Top ]

_BIGACE_CMD_SMARTY  [line 88]

_BIGACE_CMD_SMARTY = 'smarty'

Smarty Command (Itemtype 1)


[ Top ]

_BIGACE_DEFAULT_RIGHT_DIRECTORY  [line 181]

_BIGACE_DEFAULT_RIGHT_DIRECTORY = 0755

Defines the default Permissions when creating a Directory.

Default:

  1. 0777


[ Top ]

_BIGACE_DEFAULT_UMASK_DIRECTORY  [line 176]

_BIGACE_DEFAULT_UMASK_DIRECTORY = 0

Defines the default Umask when creating or copying a Directory.

Default:

  1. 0


[ Top ]

_BIGACE_DEFAULT_UMASK_FILE  [line 171]

_BIGACE_DEFAULT_UMASK_FILE = 0

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

Default:

  1. 0


[ Top ]

_BIGACE_DIR_ADDON  [line 197]

_BIGACE_DIR_ADDON = _BIGACE_DIR_ROOT.'/addon/'

Addon directory of the BIGACE installation.


[ Top ]

_BIGACE_DIR_ADMIN  [line 193]

_BIGACE_DIR_ADMIN = _BIGACE_DIR_ROOT.'/system/admin/'

Admin directory of the BIGACE installation.


[ Top ]

_BIGACE_DIR_CONSUMER  [line 217]

_BIGACE_DIR_CONSUMER = _BIGACE_DIR_ROOT.'/consumer/'

Consumer directory of the BIGACE installation.


[ Top ]

_BIGACE_DIR_EDITOR  [line 205]

_BIGACE_DIR_EDITOR = _BIGACE_DIR_ROOT.'/system/editor/'

Addon directory of the BIGACE installation.


[ Top ]

_BIGACE_DIR_LIBS  [line 209]

_BIGACE_DIR_LIBS = _BIGACE_DIR_ROOT.'/system/libs/'

Addon directory of the BIGACE installation.


[ Top ]

_BIGACE_DIR_PUBLIC  [line 213]

_BIGACE_DIR_PUBLIC = _BIGACE_DIR_ROOT.'/public/'

Public directory of the BIGACE installation.


[ Top ]

_BIGACE_DIR_ROOT  [line 185]

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

Root Directory of the BIGACE installation .


[ Top ]

_BIGACE_FRIGHT_ADMIN_ITEMS  [line 132]

_BIGACE_FRIGHT_ADMIN_ITEMS = 'admin_items'

The Fright name that defines the Administration of Items.


[ Top ]

_BIGACE_FRIGHT_ADMIN_MENUS  [line 128]

_BIGACE_FRIGHT_ADMIN_MENUS = 'admin_menus'

The Fright name that defines the Administration of Menus.


[ Top ]

_BIGACE_FRIGHT_USE_EDITOR  [line 124]

_BIGACE_FRIGHT_USE_EDITOR = 'use_editor'

The Fright name that defines the Editor access.


[ Top ]

_BIGACE_ID  [line 40]

_BIGACE_ID = '2.5'

Bigace Version ID


[ Top ]

_BIGACE_ITEM_FILE  [line 120]

_BIGACE_ITEM_FILE = 5

Itemtype File.


[ Top ]

_BIGACE_ITEM_IMAGE  [line 116]

_BIGACE_ITEM_IMAGE = 4

Itemtype Image.


[ Top ]

_BIGACE_ITEM_MENU  [line 112]

_BIGACE_ITEM_MENU = 1

Itemtype Menu.


[ Top ]

_BIGACE_LANGUAGE_PATH  [line 189]

_BIGACE_LANGUAGE_PATH = _BIGACE_DIR_ROOT.'/system/language/'

Languages directory, where language definitions and translations are stored.


[ Top ]

_BIGACE_RIGHTS_DELETE  [line 80]

_BIGACE_RIGHTS_DELETE = 4

Value defining that the User has DELETE rights.


[ Top ]

_BIGACE_RIGHTS_NO  [line 64]

_BIGACE_RIGHTS_NO = 0

Value defining that the User has NO rights.


[ Top ]

_BIGACE_RIGHTS_READ  [line 68]

_BIGACE_RIGHTS_READ = 1

Value defining that the User has READ rights.


[ Top ]

_BIGACE_RIGHTS_RW  [line 76]

_BIGACE_RIGHTS_RW = 3

Value defining that the User has READ + WRITE rights.


[ Top ]

_BIGACE_RIGHTS_RWD  [line 84]

_BIGACE_RIGHTS_RWD = 7

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


[ Top ]

_BIGACE_RIGHTS_WRITE  [line 72]

_BIGACE_RIGHTS_WRITE = 2

Value defining that the User has WRITE rights.


[ Top ]

_BIGACE_SUPER_ADMIN  [line 52]

_BIGACE_SUPER_ADMIN = 1

Super (Admin) User ID


[ Top ]

_BIGACE_TOP_LEVEL  [line 56]

_BIGACE_TOP_LEVEL = -1

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


[ Top ]

_BIGACE_TOP_PARENT  [line 60]

_BIGACE_TOP_PARENT = -9999

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


[ Top ]