claroline/claroline/install/install.lib.inc.php File Reference

Go to the source code of this file.

Namespaces

namespace  INSTALL

Functions

 warnIfExtNotLoaded ($extentionName, $echoWhenOk=false)
 topRightPath ($path='.')
 check_if_db_exist ($db_name, $db=null)
 checkVersion ($currentVersion, $requiredVersion)
 check_php_setting ($php_setting, $recommended)
 get_php_setting ($val)
 get_available_install_language ()
 displayDbError ($query, $error, $errno)

Function Documentation

check_if_db_exist ( db_name,
db = null 
)

Definition at line 116 of file install.lib.inc.php.

check_php_setting ( php_setting,
recommended 
)

Definition at line 183 of file install.lib.inc.php.

checkVersion ( currentVersion,
requiredVersion 
)

check current version is equal or greater than required version

Parameters:
string $currentVersion like '1.1.1'
string $requiredVersion like '1.1.1'
Returns:
boolean
Todo:
check if param have a good format

Definition at line 161 of file install.lib.inc.php.

displayDbError ( query,
error,
errno 
)

Display database error

Parameters:
string $query sql query
string $error error message
int $errno error number

Definition at line 242 of file install.lib.inc.php.

get_available_install_language (  ) 

Find all install.lang.php files in lang dirs and returns langs where this file is available

Returns:
array

Definition at line 214 of file install.lib.inc.php.

get_php_setting ( val  ) 

Enter description here...

Parameters:
string $val a php ini value
Returns:
boolean: ON or OFF
Author:
Joomla <http://www.joomla.org>

Definition at line 204 of file install.lib.inc.php.

topRightPath ( path = '.'  ) 

Definition at line 68 of file install.lib.inc.php.

warnIfExtNotLoaded ( extentionName,
echoWhenOk = false 
)

check extention and write if exist in a

Parameters:
string $extentionName name of php extention to be checked
boolean $echoWhenOk true => show ok when extention exist

Definition at line 34 of file install.lib.inc.php.

Generated on Tue Jun 8 12:28:37 2010 for Claroline API by  doxygen 1.6.3