ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
class.ilMStShowUserCourses.php
Go to the documentation of this file.
1 <?php
2 
9 {
10 
17  public static function getData(array $arr_usr_ids = array(), array $options = array())
18  {
19  return parent::getData($arr_usr_ids, $options);
20  }
21 
22 
30  protected static function createWhereStatement(array $arr_usr_ids, array $arr_filter, $tmp_table_user_matrix)
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  }
47 }
Class ilMStShowUserCourses.
static getData(array $arr_usr_ids=array(), array $options=array())
global $DIC
Definition: saml.php:7
Class ilMStListCourses.
Create styles array
The data for the language used.
static createWhereStatement(array $arr_usr_ids, array $arr_filter, $tmp_table_user_matrix)
if(!isset($_REQUEST['ReturnTo'])) if(!isset($_REQUEST['AuthId'])) $options
Definition: as_login.php:20