|
ILIAS
release_8 Revision v8.24
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Collaboration diagram for ilContainerSorting:Public Member Functions | |
| getSortingSettings () | |
| cloneSorting (int $a_target_id, int $a_copy_id) | |
| sortItems (array $a_items) | |
| sortSubItems (string $a_parent_type, int $a_parent_id, array $a_items) | |
| sort subitems (items of sessions or learning objectives) More... | |
| savePost (array $a_type_positions) | |
| getBlockPositions () | |
| Read block custom positions (for current object id) More... | |
Static Public Member Functions | |
| static | _getInstance (int $a_obj_id) |
| static | lookupPositions (int $a_obj_id) |
Protected Member Functions | |
| saveItems (array $a_items) | |
| saveSubItems (string $a_parent_type, int $a_parent_id, array $a_items) | |
| saveBlockPositions (array $a_values) | |
| Save block custom positions (for current object id) More... | |
Protected Attributes | |
| const | ORDER_DEFAULT = 999999 |
| ilLogger | $log |
| ilTree | $tree |
| int | $obj_id |
| ilDBInterface | $db |
| ilContainerSortingSettings | $sorting_settings = null |
| array | $sorting = [] |
Static Protected Attributes | |
| static array | $instances = [] |
Private Member Functions | |
| __construct (int $a_obj_id) | |
| read () | |
| sortOrderDefault (array $items) | |
| Position and order sort order for new object without position in manual sorting type. More... | |
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning
Definition at line 23 of file class.ilContainerSorting.php.
|
private |
|
static |
Definition at line 55 of file class.ilContainerSorting.php.
Referenced by ilContainer\cloneDependencies(), ilObjStudyProgramme\getChildren(), ilObjStudyProgramme\getLPChildren(), ilWebLinkXmlParser\handlerEndTag(), ilContainerContentGUI\initRenderer(), ilContainerContentGUI\renderItem(), ilContainerContentGUI\renderItemGroup(), ilObjLinkResourceGUI\saveSorting(), ilContainerGUI\saveSortingObject(), ilAdministrationExplorerGUI\sortChilds(), ilRepositoryExplorerGUI\sortChilds(), ilRepositorySelectorExplorerGUI\sortChilds(), and ilRepositoryExplorer\sortNodes().
Here is the caller graph for this function:| ilContainerSorting::cloneSorting | ( | int | $a_target_id, |
| int | $a_copy_id | ||
| ) |
Definition at line 81 of file class.ilContainerSorting.php.
| ilContainerSorting::getBlockPositions | ( | ) |
Read block custom positions (for current object id)
Definition at line 435 of file class.ilContainerSorting.php.
References $ilDB.
| ilContainerSorting::getSortingSettings | ( | ) |
Definition at line 50 of file class.ilContainerSorting.php.
References $sorting_settings.
|
static |
| int | $a_obj_id |
Definition at line 64 of file class.ilContainerSorting.php.
References $DIC, $ilDB, $query, $res, ilDBConstants\FETCHMODE_OBJECT, and ILIAS\Repository\int().
Referenced by ilWebLinkItemsContainer\sort().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 450 of file class.ilContainerSorting.php.
References $query, $res, ilDBConstants\FETCHMODE_OBJECT, ilContainerSortingSettings\getInstanceByObjId(), and ilContainerSortingSettings\loadEffectiveSettings().
Referenced by __construct().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Save block custom positions (for current object id)
Definition at line 417 of file class.ilContainerSorting.php.
References $ilDB.
|
protected |
Definition at line 371 of file class.ilContainerSorting.php.
References $ilDB.
| ilContainerSorting::savePost | ( | array | $a_type_positions | ) |
| array | $a_type_positions | positions e.g array(crs => array(1,2,3),'lres' => array(3,5,6)) |
Definition at line 338 of file class.ilContainerSorting.php.
References ILIAS\LTI\ToolProvider\$key.
|
protected |
Definition at line 391 of file class.ilContainerSorting.php.
References $ilDB.
| ilContainerSorting::sortItems | ( | array | $a_items | ) |
Definition at line 181 of file class.ilContainerSorting.php.
References $data, ILIAS\LTI\ToolProvider\$key, $type, ilContainer\SORT_ACTIVATION, ilContainer\SORT_CREATION, ilContainer\SORT_DIRECTION_ASC, ilContainer\SORT_MANUAL, ilContainer\SORT_TITLE, and ilArrayUtil\sortArray().
Here is the call graph for this function:
|
private |
Position and order sort order for new object without position in manual sorting type.
Definition at line 473 of file class.ilContainerSorting.php.
References ILIAS\LTI\ToolProvider\$key, ilContainer\SORT_DIRECTION_ASC, ilContainer\SORT_NEW_ITEMS_ORDER_ACTIVATION, ilContainer\SORT_NEW_ITEMS_ORDER_CREATION, ilContainer\SORT_NEW_ITEMS_ORDER_TITLE, ilContainer\SORT_NEW_ITEMS_POSITION_TOP, and ilArrayUtil\sortArray().
Here is the call graph for this function:| ilContainerSorting::sortSubItems | ( | string | $a_parent_type, |
| int | $a_parent_id, | ||
| array | $a_items | ||
| ) |
sort subitems (items of sessions or learning objectives)
Definition at line 291 of file class.ilContainerSorting.php.
References ILIAS\LTI\ToolProvider\$key, ilContainer\SORT_ACTIVATION, ilContainer\SORT_CREATION, ilContainer\SORT_DIRECTION_ASC, ilContainer\SORT_MANUAL, ilContainer\SORT_TITLE, and ilArrayUtil\sortArray().
Here is the call graph for this function:
|
protected |
Definition at line 32 of file class.ilContainerSorting.php.
|
staticprotected |
Definition at line 30 of file class.ilContainerSorting.php.
|
protected |
Definition at line 27 of file class.ilContainerSorting.php.
|
protected |
Definition at line 31 of file class.ilContainerSorting.php.
|
protected |
Definition at line 34 of file class.ilContainerSorting.php.
|
protected |
Definition at line 33 of file class.ilContainerSorting.php.
Referenced by getSortingSettings().
|
protected |
Definition at line 28 of file class.ilContainerSorting.php.
|
protected |
Definition at line 25 of file class.ilContainerSorting.php.