Table des matières

Constantes

Description : I-Radian defines any constantes for itself or help your development. Here's the lists of them. Allright, you can add yours.


Haut de page

HTML_ROOT_PATH

Description : Link to the root of the application.
Signature : HTML_ROOT_PATH
Note : This constante is defined using $_SERVER. If you have problems with, you can fix it.
File : index.php


Haut de page

DIRECTORY_SEPARATOR

Description : Folder separation character.
Signature : DIRECTORY_SEPARATOR
File : core/launcher.php


Haut de page

BASE_PATH

Description : Link to the root folder of the application.
Signature : BASE_PATH
Note : It is strongly recommended to use it when you include files.
File : core/config/definer.php


Haut de page

CORE_PATH

Description : Link to the core folder of the application.
Signature : CORE_PATH
Note : YOu shouldn't use this cconstante.
File : core/config/definer.php


Haut de page

INCLUDE_PATH

Description : Link to the folder containing includes files of the application.
Signature : INCLUDE_PATH
File : core/config/definer.php


Haut de page

INCLUDE_FILE_NAME

Description : Name of auto-included files of modules.
Signature : INCLUDE_FILE_NAME
Note : YOu shouldn't use this cconstante.
File : core/config/definer.php


Haut de page

CONFIG_CORE_PATH

Description : Link to the config folder of the application.
Signature : CONFIG_CORE_PATH
File : core/config/definer.php


Haut de page

SYSTEM_CORE_PATH

Description : Link to the system folder of the application.
Signature : SYSTEM_CORE_PATH
File : core/config/definer.php


Haut de page

GLOBAL_CONFIG_PATH

Description : Link to the core folder of the application. Definie le nom du dossier de configuration.
Signature : GLOBAL_CONFIG_PATH
File : core/config/definer.php


Haut de page

CONFIG_FILE_EXT

Description : Defines the files extensions of configurations files.
Signature : CONFIG_FILE_EXT
Note : This constante automatically switch from .js in developpement to .php in production.
File : core/config/definer.php


Haut de page

TEMPLATE_CLASS_DEFAULT

Description : Defines the default class of templating. This file is in core/config/system_classes_template.php
Signature : TEMPLATE_CLASS_DEFAULT
File : core/config/definer.php


Haut de page

DEFAULT_SITE

Description : Defines the default site by default.
Signature : DEFAULT_SITE
Note : To gets the configured value, use Environment::getDefault.
File : core/config/definer.php


Haut de page

DEFAULT_ACTION

Description : Defines the default action by default.
Signature : DEFAULT_ACTION
Note : To gets the configured value, use Environment::getDefault.
File : core/config/definer.php


Haut de page

DEFAULT_METHOD

Description : Defines the default method by default.
Signature : DEFAULT_METHOD
Note : To gets the configured value, use Environment::getDefault.
File : core/config/definer.php


Haut de page

DEFAULT_SITE_PREFIX

Description : Defines the default site prefix by default.
Signature : DEFAULT_SITE_PREFIX
Note : To gets the configured value, use Environment::getDefault.
File : core/config/definer.php


Haut de page

DEFAULT_ACTION_PREFIX

Description : Defines the default action prefix by default.
Signature : DEFAULT_ACTION_PREFIX
Note : To gets the configured value, use Environment::getDefault.
File : core/config/definer.php


Haut de page

DEFAULT_METHOD_PREFIX

Description : Defines the method prefix action by default.
Signature : DEFAULT_METHOD_PREFIX
Note : To gets the configured value, use Environment::getDefault.
File : core/config/definer.php


Haut de page

DEFAULT_SITE_SUFIX

Description : Defines the default site sufix by default.
Signature : DEFAULT_SITE_SUFIX
Note : To gets the configured value, use Environment::getDefault.
File : core/config/definer.php


Haut de page

DEFAULT_ACTION_SUFIX

Description : Defines the default action sufix by default.
Signature : DEFAULT_ACTION_SUFIX
Note : To gets the configured value, use Environment::getDefault.
File : core/config/definer.php


Haut de page

DEFAULT_METHOD_SUFIX

Description : Defines the default method sufix by default.
Signature : DEFAULT_METHOD_SUFIX
Note : To gets the configured value, use Environment::getDefault.
File : core/config/definer.php


Haut de page

DEFAULT_TEMPLATE_PATH

Description : Defines the default template folder by default.
Signature : DEFAULT_TEMPLATE_PATH
Note : To gets the configured value, use Environment::getDefault.
File : core/config/definer.php


Haut de page

DEFAULT_TEMPLATE_EXTENSION

Description : Defines the default templates files extension by default.
Signature : DEFAULT_TEMPLATE_EXTENSION
Note : To gets the configured value, use Environment::getDefault.
File : core/config/definer.php


Haut de page

DEFAULT_CSS_PATH

Description : Defines the default styles files folder by default.
Signature : DEFAULT_CSS_PATH
Note : To gets the configured value, use Environment::getDefault.
File : core/config/definer.php


Haut de page

DEFAULT_SCRIPTS_PATH

Description : Defines the default scripts files folder by default.
Signature : DEFAULT_SCRIPTS_PATH
Note : To gets the configured value, use Environment::getDefault.
File : core/config/definer.php


Haut de page

DEFAULT_IMAGES_PATH

Description : Defines the default images files folder by default.
Signature : DEFAULT_IMAGES_PATH
Note : To gets the configured value, use Environment::getDefault.
File : core/config/definer.php


Haut de page

DEFAULT_HELPERS_PATH

Description : Defines the default helpers files folder by default.
Signature : DEFAULT_HELPERS_PATH
Note : To gets the configured value, use Environment::getDefault.
File : core/config/definer.php


Haut de page

DEFAULT_404_TEMPLATE

Description : Defines the default 404 error file name by default.
Signature : DEFAULT_404_TEMPLATE
Note : To gets the configured value, use Environment::getDefault.
File : core/config/definer.php


Haut de page

DEFAULT_ERROR_LEVEL

Description : Defines the default level error showable by default.
Signature : DEFAULT_ERROR_LEVEL
Note : To gets the configured value, use Environment::getDefault.
File : core/config/definer.php


Haut de page

DEFAULT_INCLUDES_PATH

Description : Defines the default includes files folder by default (additional files to modules).
Signature : DEFAULT_INCLUDES_PATH
Note : To gets the configured value, use Environment::getDefault.
File : core/config/definer.php