ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
ilMStShowUserCourses Class Reference

Class ilMStShowUserCourses. More...

+ Inheritance diagram for ilMStShowUserCourses:
+ Collaboration diagram for ilMStShowUserCourses:

Static Public Member Functions

static getData (array $arr_usr_ids=array(), array $options=array())
 
- Static Public Member Functions inherited from ilMStListCourses
static getData (array $arr_usr_ids=array(), array $options=array())
 

Static Protected Member Functions

static createWhereStatement (array $arr_usr_ids, array $arr_filter, $tmp_table_user_matrix)
 
- Static Protected Member Functions inherited from ilMStListCourses
static createWhereStatement (array $arr_usr_ids, array $arr_filter, $tmp_table_user_matrix)
 Returns the WHERE Part for the Queries using parameter $user_ids AND local variable $filters. More...
 

Detailed Description

Member Function Documentation

◆ createWhereStatement()

static ilMStShowUserCourses::createWhereStatement ( array  $arr_usr_ids,
array  $arr_filter,
  $tmp_table_user_matrix 
)
staticprotected
Parameters
array$arr_usr_ids
array$arr_filter
string$tmp_table_user_matrix
Returns
string

Definition at line 30 of file class.ilMStShowUserCourses.php.

References $DIC.

31  {
32  global $DIC;
33 
34  if (!$arr_filter['usr_id']) {
35  return '';
36  }
37 
38  $where = parent::createWhereStatement($arr_usr_ids, $arr_filter, $tmp_table_user_matrix);
39  $usr_filter = "usr_data.usr_id = " . $DIC->database()->quote($arr_filter['usr_id'], 'integer');
40 
41  if (empty($where)) {
42  return ' WHERE ' . $usr_filter;
43  } else {
44  return $where . ' AND ' . $usr_filter;
45  }
46  }
global $DIC
Definition: saml.php:7

◆ getData()

static ilMStShowUserCourses::getData ( array  $arr_usr_ids = array(),
array  $options = array() 
)
static
Parameters
array$arr_usr_ids
array$options
Returns
array|int

Definition at line 17 of file class.ilMStShowUserCourses.php.

References PHPMailer\PHPMailer\$options.

Referenced by ilMStShowUserCoursesTableGUI\parseData().

18  {
19  return parent::getData($arr_usr_ids, $options);
20  }
+ Here is the caller graph for this function:

The documentation for this class was generated from the following file: