Chamilo is a learning management system focused on ease of use and accessibility
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
chamilo-lms/main/inc/ajax/user_manager.ajax.php

22 lines
445 B

<?php
/**
* This class response to the Ajax calls
*
*/
require_once '../global.inc.php';
$action = $_GET['a'];
require_once api_get_path(LIBRARY_PATH).'usermanager.lib.php';
switch ($action) {
case 'search_tags':
/* For licensing terms, see /dokeos_license.txt */
$field_id = intval($_GET['field_id']);
$tag = $_GET['tag'];
echo UserManager::get_tags($tag, $field_id,'json','10');
break;
default:
echo '';
}
exit;
?>