tangra logo
   
[ class tree: tangra_lib ] [ index: tangra_lib ] [ all elements ]
 

Procedural File: tangra2.inc.php

Source Location: /tangra2.inc.php

Page Details

Main include file for tangra framework.

Sets global constants for tangra version and loads some core classes and functions

Filesource:  Source Code for this file
Includes
[ Top ]

require_once (TANGRA_MAIN_DIR.'exceptions/tangra_exception.class.php') [line 63]
[ Top ]


Constants
TANGRA_MAIN_DIR  [line 58]

TANGRA_MAIN_DIR = dirname(__FILE__).'/'

TANGRA_MAIN_DIR is may be the most widely used constant. It holds detected value of current dir where tangra_lib resides.


[ Top ]

TANGRA_VERSION  [line 42]

TANGRA_VERSION = TANGRA_VERSION_MAJOR.'.'.TANGRA_VERSION_MINOR.'.'.TANGRA_VERSION_RELEASE.(TANGRA_VERSION_SUFFIX?'.'.TANGRA_VERSION_SUFFIX:'')

TANGRA_VERSION constant holds version of current tangra_lib


[ Top ]

TANGRA_VERSION_MAJOR  [line 19]

TANGRA_VERSION_MAJOR = '2'

Version major number


[ Top ]

TANGRA_VERSION_MINOR  [line 25]

TANGRA_VERSION_MINOR = '0'

Version minor number


[ Top ]

TANGRA_VERSION_RELEASE  [line 31]

TANGRA_VERSION_RELEASE = '0'

Version release number


[ Top ]

TANGRA_VERSION_SUFFIX  [line 36]

TANGRA_VERSION_SUFFIX = 'dev5'

Version suffix


[ Top ]