/init.php

Description

Initialize all defines and includes necessary files

  • author: Laurent Jouanneau
  • copyright: 2007 Julien Issler
  • copyright: 2005-2010 Laurent Jouanneau
  • link: http://www.jelix.org
  • contributor: Loic Mathaud, Julien Issler
  • licence: GNU Lesser General Public Licence see LICENCE file or http://www.gnu.org/licenses/lgpl.html
  • filesource: Source Code for this file
Includes
require (jUrlBase.class.php) (line 62)
require (jUrlAction.class.php) (line 63)
require (jUrl.class.php) (line 64)
require (jException.lib.php) (line 46)
require (JELIX_LIB_CORE_PATH.'selector/jSelectorClass.class.php') (line 53)
require (JELIX_LIB_CORE_PATH.'selector/jSelectorDao.class.php') (line 54)
require (JELIX_LIB_CORE_PATH.'selector/jSelectorFile.lib.php') (line 61)
require (JELIX_LIB_CORE_PATH.'selector/jSelectorIface.class.php') (line 56)
require (jICoordPlugin.iface.php) (line 42)
require (jErrorHandler.lib.php) (line 45)
require (JELIX_LIB_CORE_PATH.'selector/jSelectorTpl.class.php') (line 58)
require (JELIX_LIB_CORE_PATH.'selector/jSelectorLoc.class.php') (line 57)
require (JELIX_LIB_CORE_PATH.'selector/jSelectorZone.class.php') (line 59)
require (JELIX_LIB_CORE_PATH.'selector/jSelectorForm.class.php') (line 55)
require (JELIX_LIB_CORE_PATH.'selector/jSelectorSimpleFile.class.php') (line 60)
require (jCoordinator.class.php) (line 65)
require (jController.class.php) (line 66)
require (jSession.class.php) (line 72)
require (jIncluder.class.php) (line 71)
require (jBundle.class.php) (line 69)
require (jRequest.class.php) (line 67)
require (jResponse.class.php) (line 68)
require (jLocale.class.php) (line 70)
require (jSelector.class.php) (line 49)
require (jContext.class.php) (line 47)
require (jISelector.iface.php) (line 43)
require (jConfig.class.php) (line 48)
require (JELIX_LIB_CORE_PATH.'selector/jSelectorAct.class.php') (line 52)
require (JELIX_LIB_CORE_PATH.'selector/jSelectorModule.class.php') (line 50)
require (JELIX_LIB_CORE_PATH.'selector/jSelectorActFast.class.php') (line 51)
require (jIUrlEngine.iface.php) (line 44)
Constants
BYTECODE_CACHE_EXISTS = function_exists('apc_cache_info')||function_exists('eaccelerator_info')||function_exists('xcache_info') (line 33)
E_DEPRECATED = 8192 (line 36)
E_USER_DEPRECATED = 16384 (line 38)
JELIX_LIB_CORE_PATH = JELIX_LIB_PATH.'core/' (line 29)
JELIX_LIB_PATH = dirname(__FILE__).'/' (line 28)
JELIX_LIB_UTILS_PATH = JELIX_LIB_PATH.'utils/' (line 30)
JELIX_NAMESPACE_BASE = 'http://jelix.org/ns/' (line 26)

base of namespace path used in xml files of jelix

  • name: JELIX_NAMESPACE_BASE
JELIX_VERSION = '1.2.13' (line 20)

Version number of Jelix

  • name: JELIX_VERSION
LIB_PATH = dirname(JELIX_LIB_PATH).'/' (line 31)
Variables
stdobject $gJConfig (line 86)

Object that contains all configuration values

  • name: $gJConfig
jCoordinator $gJCoord (line 79)

The main object of Jelix which process all things

  • name: $gJCoord
array $gLibPath (line 94)

contains path for __autoload function

  • see: __autoload()
  • name: $gLibPath
Functions
checkAppNotInstalled (line 170)

check if the application is not installed. If the app is installed, an error message appears and the scripts ends.

It should be called only by some scripts like an installation wizard, not by entry point.

void checkAppNotInstalled ()
checkAppOpened (line 141)

check if the application is opened. If not, it displays the yourapp/install/closed.html file with a http error (or lib/jelix/installer/closed.html), and exit.

This function should be called in all entry point, before the creation of the coordinator.

void checkAppOpened ()
isAppInstalled (line 184)
void isAppInstalled ()
jelix_autoload (line 103)

function used by php to try to load an unknown class

void jelix_autoload ( $class)
  • $class

Documentation generated on Thu, 19 Sep 2013 00:01:57 +0200 by phpDocumentor 1.4.3