|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
Collaboration diagram for ILIAS\User\Profile\DataQuery:Public Member Functions | |
| __construct (private readonly \ilDBInterface $db, private readonly string $user_base_table_name, private readonly string $user_values_table_name, array $select_fields) | |
| withAdditionalAdditionalTableSelectField (string $field_name) | |
| withAdditionalDefaultTableSelectField (string $field_name) | |
| withAdditionalUdfField (Field $field) | |
| withAdditionalMultiField (string $field_name) | |
| withAdditionalJoin (string $join) | |
| withAdditionalWhere (string $where) | |
| withAdditionalMultiDataWhere (string $identifier, string|array $value) | |
| withAdditionalTableOrder (string $order) | |
| withMultiDataTableOrder (string $order_field, string $direction) | |
| withDefaultTableOrderFields (array $order_fields, string $direction) | |
| withLimitedUsers (array $users) | |
| withJoinedMultiDataTable () | |
| buildRecordsQueryString () | |
| buildCntQueryString () | |
| withAdditionalSelectAndJoinForUdfAndMultiValueFields () | |
| explodeArrayValues (array $row) | |
Private Member Functions | |
| buildWhere () | |
| buildJoinForMultiDataTable () | |
Private Attributes | |
| const string | ARRAY_SEPARATOR = '##!:!##' |
| const string | RECORDS_QUERY_INIT = 'SELECT ' |
| string | $cnt_query_init |
| array | $multi_fields = [] |
| array | $select_fields |
| array | $udf_fields = [] |
| array | $join = [] |
| array | $where = [] |
| string | $order = '' |
| bool | $multi_data_table_joined = false |
| bool | $additional_fields_processed = false |
Definition at line 25 of file DataQuery.php.
| ILIAS\User\Profile\DataQuery::__construct | ( | private readonly \ilDBInterface | $db, |
| private readonly string | $user_base_table_name, | ||
| private readonly string | $user_values_table_name, | ||
| array | $select_fields | ||
| ) |
Definition at line 41 of file DataQuery.php.
References ILIAS\User\Profile\DataQuery\$select_fields.
| ILIAS\User\Profile\DataQuery::buildCntQueryString | ( | ) |
Definition at line 166 of file DataQuery.php.
References ANONYMOUS_USER_ID, ILIAS\User\Profile\DataQuery\buildWhere(), and ilDBConstants\T_INTEGER.
Here is the call graph for this function:
|
private |
Definition at line 227 of file DataQuery.php.
Referenced by ILIAS\User\Profile\DataQuery\withAdditionalSelectAndJoinForUdfAndMultiValueFields(), and ILIAS\User\Profile\DataQuery\withJoinedMultiDataTable().
Here is the caller graph for this function:| ILIAS\User\Profile\DataQuery::buildRecordsQueryString | ( | ) |
Definition at line 155 of file DataQuery.php.
References ILIAS\User\Profile\DataQuery\$order, ANONYMOUS_USER_ID, ILIAS\User\Profile\DataQuery\buildWhere(), and ilDBConstants\T_INTEGER.
Referenced by ILIAS\User\Profile\DatabaseDataRepository\retrieveRecordsFromQuery().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 219 of file DataQuery.php.
Referenced by ILIAS\User\Profile\DataQuery\buildCntQueryString(), and ILIAS\User\Profile\DataQuery\buildRecordsQueryString().
Here is the caller graph for this function:| ILIAS\User\Profile\DataQuery::explodeArrayValues | ( | array | $row | ) |
Definition at line 205 of file DataQuery.php.
Referenced by ILIAS\User\Profile\DatabaseDataRepository\retrieveRecordsFromQuery().
Here is the caller graph for this function:| ILIAS\User\Profile\DataQuery::withAdditionalAdditionalTableSelectField | ( | string | $field_name | ) |
Definition at line 55 of file DataQuery.php.
| ILIAS\User\Profile\DataQuery::withAdditionalDefaultTableSelectField | ( | string | $field_name | ) |
Definition at line 62 of file DataQuery.php.
| ILIAS\User\Profile\DataQuery::withAdditionalJoin | ( | string | $join | ) |
Definition at line 83 of file DataQuery.php.
References ILIAS\User\Profile\DataQuery\$join.
| ILIAS\User\Profile\DataQuery::withAdditionalMultiDataWhere | ( | string | $identifier, |
| string|array | $value | ||
| ) |
Definition at line 97 of file DataQuery.php.
References ilDBConstants\T_TEXT.
| ILIAS\User\Profile\DataQuery::withAdditionalMultiField | ( | string | $field_name | ) |
Definition at line 76 of file DataQuery.php.
| ILIAS\User\Profile\DataQuery::withAdditionalSelectAndJoinForUdfAndMultiValueFields | ( | ) |
Definition at line 174 of file DataQuery.php.
References ILIAS\User\Profile\DataQuery\buildJoinForMultiDataTable().
Here is the call graph for this function:| ILIAS\User\Profile\DataQuery::withAdditionalTableOrder | ( | string | $order | ) |
Definition at line 109 of file DataQuery.php.
References ILIAS\User\Profile\DataQuery\$order.
Referenced by ilUserQuery\addOrderToQuery().
Here is the caller graph for this function:| ILIAS\User\Profile\DataQuery::withAdditionalUdfField | ( | Field | $field | ) |
Definition at line 69 of file DataQuery.php.
| ILIAS\User\Profile\DataQuery::withAdditionalWhere | ( | string | $where | ) |
Definition at line 90 of file DataQuery.php.
References ILIAS\User\Profile\DataQuery\$where.
| ILIAS\User\Profile\DataQuery::withDefaultTableOrderFields | ( | array | $order_fields, |
| string | $direction | ||
| ) |
Definition at line 123 of file DataQuery.php.
References $c.
Referenced by ilUserQuery\addOrderToQuery().
Here is the caller graph for this function:| ILIAS\User\Profile\DataQuery::withJoinedMultiDataTable | ( | ) |
Definition at line 147 of file DataQuery.php.
References ILIAS\User\Profile\DataQuery\buildJoinForMultiDataTable().
Referenced by ilUserQuery\addUdfFilterToQuery().
Here is the call graph for this function:
Here is the caller graph for this function:| ILIAS\User\Profile\DataQuery::withLimitedUsers | ( | array | $users | ) |
Definition at line 137 of file DataQuery.php.
References ilDBConstants\T_INTEGER.
| ILIAS\User\Profile\DataQuery::withMultiDataTableOrder | ( | string | $order_field, |
| string | $direction | ||
| ) |
Definition at line 116 of file DataQuery.php.
Referenced by ilUserQuery\addOrderToQuery().
Here is the caller graph for this function:
|
private |
Definition at line 39 of file DataQuery.php.
|
private |
Definition at line 30 of file DataQuery.php.
|
private |
Definition at line 35 of file DataQuery.php.
Referenced by ILIAS\User\Profile\DataQuery\withAdditionalJoin().
|
private |
Definition at line 38 of file DataQuery.php.
|
private |
Definition at line 32 of file DataQuery.php.
|
private |
Definition at line 37 of file DataQuery.php.
Referenced by ILIAS\User\Profile\DataQuery\buildRecordsQueryString(), and ILIAS\User\Profile\DataQuery\withAdditionalTableOrder().
|
private |
Definition at line 33 of file DataQuery.php.
Referenced by ILIAS\User\Profile\DataQuery\__construct().
|
private |
Definition at line 34 of file DataQuery.php.
|
private |
Definition at line 36 of file DataQuery.php.
Referenced by ILIAS\User\Profile\DataQuery\withAdditionalWhere().
|
private |
Definition at line 27 of file DataQuery.php.
|
private |
Definition at line 28 of file DataQuery.php.