Variable

From ClaroDevel

$color1

variables path

		
$_cid		Id of the current course
		
$_course		It's an array containing info of $_cid related course
$_course['dbName']		It's the dbName of the course. In Single DB Mode, this is the prefix for tables.
$_course['extLink']		Each course can have 1 privilegied link (show in the banner of the course)
$_course['extLink']['name']		The name to ouput for this link
$_course['extLink']['url']		The ref of the link. The ref must be absolute
$_course['name']		The name of the course
$_course['officialCode']		The code of course. 
$_course['path']		The  path from courseRepository until index.php of the course
$_course['titular']		Text presented as responsable of the course.
$_courseUser		This is the array of data link to a user in a course
$_gid		Id of the current group in the active course
$_group		This is the array of group data
$_groupProperties		This is the array of group properties data for a course
$_groupUser		This is the array of data link to a user in a group of a course
$_uid		Id of the current user. Set during login.
		
		
$_user		It's an array containing info of $_uid related user
$_user ['firstName']		The firstname of the user
$_user ['lastName']		The name of the user
$administrator ["phone"]		The direct phone of the official administrator
$administrator ["email"]		The email of the official administrator
$administrator ["name"] 		The name (and firstname) of the official administrator
$administrator		Array of data about the official administrator
$charset		Charset of the page (set by langFile)
$checkEmailByHashSent 		Config value to set if an email for verfification is sent to user when he add or  update his email
$clarolineRepositoryAppend		Relative path to  claroline script
$clarolineRepositorySys		Absolute system path to  claroline script
$clarolineRepositoryWeb		Absolute url  to  claroline script
		
$clarolineVersion		Litteral version (use by update)
		
		
$colorDark		Colors use to colorize ouput
$colorLight		Colors use to colorize ouput
$colorMedium		Colors use to colorize ouput
$CourseProgram		Url to the course programm (soon depreacated)
$coursesRepositoryAppend		Relative path to  claroline courses
$coursesRepositorySys		Absolute system path to  claroline courses
$coursesRepositoryWeb		Absolute url  to  claroline courses
$createArchiveBeforeDelete 		Set yes to force an export of course before delete
$createArchiveOnExpiration 		Set yes to force an export of course before expire the course
$db		Handle of db
$dbHost		You probably don't need this because the init do the db connect. We think to unset these value after connect soon 
$dbLogin		Login name of user with access to claroline databases
$dbNamePrefix		 This string would be add in begin of all created db
$dbPass		Password of user with access to claroline databases
$delayExpiredToDelete 		Time delay in second  between expiration of a course and the auto deletion
$educationManager	["phone"]	The direct phone of the official administrator
$educationManager	["email"]	The email of the official administrator
$educationManager	["name"]	The name (and firstname) of the official administrator
$emailAdministrator		Array of data about the official administrator
$htmlHeadXtra		
$httpHeadXtra		
$includePath		
$Institution		
$institution	["url"]	
$institution	["name"]	
$InstitutionUrl		
$interbredcrump		It's an array to add  levels in bread crump bar
$is_allowedCreateCourse		
$is_courseAdmin		
$is_courseMember		
$is_courseTutor		
$is_groupAllowed		
$is_groupMember		
$is_groupTutor		
$is_platformAdmin		
$langFile		Define the name of lang file, but  it's already don because need by init
$langLogout		
$langModifyProfile		
$langMyCourses		
$language 		
$mailToStudentOnDelete 		
$mailToStudentOnExpiration 		
$mailToStudentOnUnsubscribe 		
$mainDbName		
$mainInterfaceWidth 		
$mysqlMainDb		
$mysqlPassword		
$mysqlPrefix		
$mysqlServer		
$mysqlUser		
$nameTools		Set with the correct file var init during  the init section. Something like $nameTools = $langModifInfo;
$noPHP_SELF		Juste set true to remove self href on last level of the breadcrump
$phpMyAdminAppend		
$phpMyAdminSys		
$phpMyAdminWeb		
$phpSysInfoAppend		
$phpSysInfoSys		
$phpSysInfoWeb		
$platformLanguage		
$rootAdminAppend		
$rootAdminSys		
$rootAdminWeb		
$rootSys		
$rootWeb		
$rootWeb		
$serverAddress		
$ShowEmailnotcheckedToStudent		
$siteName		
$siteName		
$statsDbName		This is the db name for staticts and tracking. All tables are prefixed, so the db can be same than mainDbName. 
$telephone	$administrator["phone"]	
$text_dir		
$unsubscribeStudentOnDelete 		
$unsubscribeStudentOnExpiration 		
$urlAppend		
$urlServer	$rootWeb	
$userMailCanBeEmpty 		
$userPasswordCrypted 		
$versionDb 		
$webDir	$rootSys	
		est une variable boolean utilisée pour activer ou désactiver le tracking sur l'ensemble de la plateforme "Les tables seront créées mais inutilisées, de cette manière l'utilisateur pourra changer d'avis facilement en changeant simplement la variable dans le fichier de config, il n'aura pas à se préoccuper de recréer les tables ni meme de faire appel à un script de création de ces tables. De plus cela évite les erreurs lorsque un utilisateur affiche une des pages d'affichage des statistiques, tous les résultats seront nuls mais il y en aura (penser à ajouter dans les pages d'affichage un message informant que le tracking est désactivé sur la plateforme) Il s'agit donc bien ici de débrayage, tout le nécessaire pour le tracking sera là mais il ne sera pas utilisé."