Orpheus

constants.php

\file All website constants.

Tags
page

constants Constants

This file contains all the main constants, you will often work with it, and you need to define your own. You will find here constants like AUTHOR_NAME and also path constants.\n Configure others carefully and only if it's really necessary, libraries may require some.\n

Set ERROR_LEVEL to put your website in production (with no error reports to the user). This is compatible with multi-instance architecture, so you can set a dev version and a production version using the same sources on you own server. Official ERROR_LEVEL values are ERROR_DEBUG_LEVEL (all errors) and ERROR_PROD_LEVEL (no errors) and ERROR_LEVEL is set depending on DEV_VERSION value (if set).

Table of Contents

Constants

CRAC_CONTEXT_AGENCY  = 2
CRAC_CONTEXT_APPLICATION  = 1
CRAC_CONTEXT_RESOURCE  = 3
DOMAIN_APP  = 'application'
DOMAIN_SETUP  = 'setup'
DOMAIN_TRANSLATIONS  = 'translations'
DOMAIN_USER  = 'user'
FILE_SOURCE_TYPE_DATA_URI  = 'datauri'
FILE_SOURCE_TYPE_UPLOAD  = 'upload'
FILE_SOURCE_TYPE_UPLOAD_CONVERTED  = 'upload_converted'
FILE_SOURCE_TYPE_WKPDF  = 'wkpdf'
FILE_USAGE_INVOICE  = 'invoice'
FILE_USAGE_USER_PICTURE  = 'user_picture'

Functions

listFileUsages()  : array<string|int, mixed>
listFileSourceTypes()  : array<string|int, mixed>

Constants

CRAC_CONTEXT_AGENCY

public mixed CRAC_CONTEXT_AGENCY = 2

CRAC_CONTEXT_APPLICATION

public mixed CRAC_CONTEXT_APPLICATION = 1

CRAC_CONTEXT_RESOURCE

public mixed CRAC_CONTEXT_RESOURCE = 3

DOMAIN_APP

public mixed DOMAIN_APP = 'application'

DOMAIN_SETUP

public mixed DOMAIN_SETUP = 'setup'

DOMAIN_TRANSLATIONS

public mixed DOMAIN_TRANSLATIONS = 'translations'

DOMAIN_USER

public mixed DOMAIN_USER = 'user'

FILE_SOURCE_TYPE_DATA_URI

public mixed FILE_SOURCE_TYPE_DATA_URI = 'datauri'

FILE_SOURCE_TYPE_UPLOAD

public mixed FILE_SOURCE_TYPE_UPLOAD = 'upload'

FILE_SOURCE_TYPE_UPLOAD_CONVERTED

public mixed FILE_SOURCE_TYPE_UPLOAD_CONVERTED = 'upload_converted'

FILE_SOURCE_TYPE_WKPDF

public mixed FILE_SOURCE_TYPE_WKPDF = 'wkpdf'

FILE_USAGE_INVOICE

public mixed FILE_USAGE_INVOICE = 'invoice'

FILE_USAGE_USER_PICTURE

public mixed FILE_USAGE_USER_PICTURE = 'user_picture'

Functions

listFileUsages()

listFileUsages() : array<string|int, mixed>
Return values
array<string|int, mixed>

listFileSourceTypes()

listFileSourceTypes() : array<string|int, mixed>
Return values
array<string|int, mixed>

							
On this page

Search results