This commit is contained in:
Xes
2025-08-14 22:39:38 +02:00
parent 3641e93527
commit 5403f346e3
3370 changed files with 327179 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
<?php
/* PHP code to install the plugin
* For example:
*
// To query something to the database
$table = Database::get_main_table(TABLE_MAIN_USER); // TABLE_MAIN_USER is a constant check the main/inc/database.constants.inc.php
$sql = "SELECT firstname, lastname FROM $table_users ";
$users = Database::query($sql);
You can also use the Chamilo classes
$users = UserManager::get_user_list();
*/