|
ILIAS
release_8 Revision v8.24
|
Collaboration diagram for ilTreeTrashQueries:Public Member Functions | |
| __construct () | |
| ilTreeTrash constructor. More... | |
| isTrashedTrash (array $ref_ids) | |
| findRepositoryLocationForDeletedNode (int $deleted_node) | |
| getTrashedNodeTypesForContainer (int $ref_id) | |
| getNumberOfTrashedNodesForTrashedContainer (int $ref_id) | |
| getTrashNodeForContainer (int $ref_id, array $filter, int &$max_entries, string $order_field, string $order_direction, int $limit=self::QUERY_LIMIT, int $offset=0) | |
| Get trashed nodes. More... | |
| getTrashedNodesForContainerUsingRecursion (int $ref_id) | |
| Unfortunately not supported by mysql 5. More... | |
Protected Member Functions | |
| appendTrashNodeForContainerQueryFilter (array $filter) | |
Protected Attributes | |
| const | QUERY_LIMIT = 10 |
Private Attributes | |
| int | $ref_id = 0 |
| ilTree | $tree |
| ilLogger | $logger |
| ilDBInterface | $db |
Definition at line 25 of file class.ilTreeTrashQueries.php.
| ilTreeTrashQueries::__construct | ( | ) |
ilTreeTrash constructor.
Definition at line 40 of file class.ilTreeTrashQueries.php.
References $DIC, and ILIAS\Repository\logger().
Here is the call graph for this function:
|
protected |
| array{type? | string, title?: string, deleted?: array{from?: \ilDate, to?: \ilDate}} $filter |
Definition at line 212 of file class.ilTreeTrashQueries.php.
References $query, ilObjUser\_lookupId(), IL_CAL_DATE, ilDBConstants\T_INTEGER, and ilDBConstants\T_TEXT.
Here is the call graph for this function:| ilTreeTrashQueries::findRepositoryLocationForDeletedNode | ( | int | $deleted_node | ) |
| int | $deleted_node |
Definition at line 75 of file class.ilTreeTrashQueries.php.
References $query, $res, ilDBConstants\FETCHMODE_OBJECT, ILIAS\Repository\logger(), and ilDBConstants\T_INTEGER.
Here is the call graph for this function:| ilTreeTrashQueries::getNumberOfTrashedNodesForTrashedContainer | ( | int | $ref_id | ) |
| int | $ref_id |
Definition at line 114 of file class.ilTreeTrashQueries.php.
| ilTreeTrashQueries::getTrashedNodesForContainerUsingRecursion | ( | int | $ref_id | ) |
Unfortunately not supported by mysql 5.
| int | $ref_id |
| ilDatabaseException |
Definition at line 186 of file class.ilTreeTrashQueries.php.
References Vendor\Package\$e, $query, $ref_id, $res, ilDBConstants\FETCHMODE_OBJECT, ILIAS\Repository\int(), ILIAS\Repository\logger(), and ilDBConstants\T_INTEGER.
Here is the call graph for this function:| ilTreeTrashQueries::getTrashedNodeTypesForContainer | ( | int | $ref_id | ) |
| int | $ref_id |
Definition at line 93 of file class.ilTreeTrashQueries.php.
References $query, $ref_id, $res, and ilDBConstants\FETCHMODE_OBJECT.
| ilTreeTrashQueries::getTrashNodeForContainer | ( | int | $ref_id, |
| array | $filter, | ||
| int & | $max_entries, | ||
| string | $order_field, | ||
| string | $order_direction, | ||
| int | $limit = self::QUERY_LIMIT, |
||
| int | $offset = 0 |
||
| ) |
Get trashed nodes.
Count query
Definition at line 125 of file class.ilTreeTrashQueries.php.
| ilTreeTrashQueries::isTrashedTrash | ( | array | $ref_ids | ) |
| int[] | $ref_ids |
Definition at line 53 of file class.ilTreeTrashQueries.php.
References $query, $res, ilDBConstants\FETCHMODE_OBJECT, and ilDBConstants\T_INTEGER.
|
private |
Definition at line 35 of file class.ilTreeTrashQueries.php.
|
private |
Definition at line 33 of file class.ilTreeTrashQueries.php.
|
private |
Definition at line 29 of file class.ilTreeTrashQueries.php.
Referenced by getNumberOfTrashedNodesForTrashedContainer(), and getTrashedNodeTypesForContainer().
|
private |
Definition at line 31 of file class.ilTreeTrashQueries.php.
|
protected |
Definition at line 27 of file class.ilTreeTrashQueries.php.