* @param string $select A fragment of SQL to be used in a where clause in the SQL call.
* @param string $countitem The count string to be used in the SQL call. Default is COUNT(*).
* @return int The count of records returned from the specified criteria.
- */*
+ */
function count_records_select($table, $select='', $countitem='COUNT(*)') {
global $CFG;
* @param string $select A fragment of SQL to be used in a where clause in the SQL call.
* @param string $fields A comma separated list of fields to be returned from the chosen table.
* @return array An associative array with the results from the SQL call.
- */*
+ */
function get_record_select($table, $select='', $fields='*') {
global $CFG;
* @return user A {@link $USER} object.
* @todo Finish documenting this function
*/
- */
function get_user_info_from_db($field, $value) {
global $CFG;
* @return array An array of {@link $USER} records.
* @todo Finish documenting this function
*/
- */
function search_users($courseid, $groupid, $searchtext, $sort='', $exceptions='') {
global $CFG;