|
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 ilContainerSortingSettings:Public Member Functions | |
| __construct (int $a_obj_id=0) | |
| loadEffectiveSettings () | |
| Load inherited settings. More... | |
| getInheritedSettings (int $a_container_obj_id) | |
| getSortMode () | |
| getSortDirection () | |
| getSortNewItemsPosition () | |
| getSortNewItemsOrder () | |
| setSortMode (int $a_mode) | |
| setSortDirection (int $a_direction) | |
| setSortNewItemsPosition (int $a_position) | |
| setSortNewItemsOrder (int $a_order) | |
| update () | |
| save () | |
| delete () | |
Static Public Member Functions | |
| static | getInstanceByObjId (int $a_obj_id) |
| static | _readSortMode (int $a_obj_id) |
| static | _lookupSortMode (int $a_obj_id) |
| static | lookupSortModeFromParentContainer (int $a_obj_id) |
| static | _cloneSettings (int $a_old_id, int $a_new_id) |
| static | sortModeToString (int $a_sort_mode) |
| Get string representation of sort mode. More... | |
| static | _exportContainerSortingSettings (ilXmlWriter $xml, int $obj_id) |
| sorting XML-export for all container objects More... | |
| static | _importContainerSortingSettings (array $attibs, int $obj_id) |
| sorting import for all container objects More... | |
Protected Member Functions | |
| read () | |
Protected Attributes | |
| ilTree | $tree |
| int | $obj_id |
| int | $sort_mode = ilContainer::SORT_TITLE |
| int | $sort_direction = ilContainer::SORT_DIRECTION_ASC |
| int | $new_items_position = ilContainer::SORT_NEW_ITEMS_POSITION_BOTTOM |
| int | $new_items_order = ilContainer::SORT_NEW_ITEMS_ORDER_TITLE |
| ilDBInterface | $db |
Static Private Attributes | |
| static array | $instances = [] |
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 22 of file class.ilContainerSortingSettings.php.
| ilContainerSortingSettings::__construct | ( | int | $a_obj_id = 0 | ) |
|
static |
Definition at line 148 of file class.ilContainerSortingSettings.php.
|
static |
sorting XML-export for all container objects
Definition at line 304 of file class.ilContainerSortingSettings.php.
References ILIAS\LTI\ToolProvider\$settings, ilContainer\SORT_ACTIVATION, ilContainer\SORT_CREATION, ilContainer\SORT_DIRECTION_ASC, ilContainer\SORT_INHERIT, ilContainer\SORT_MANUAL, ilContainer\SORT_NEW_ITEMS_ORDER_ACTIVATION, ilContainer\SORT_NEW_ITEMS_ORDER_CREATION, ilContainer\SORT_NEW_ITEMS_ORDER_TITLE, ilContainer\SORT_NEW_ITEMS_POSITION_BOTTOM, and ilContainer\SORT_TITLE.
Referenced by ilCategoryXmlWriter\export(), ilCourseXMLWriter\start(), ilGroupXMLWriter\start(), and ilFolderXmlWriter\write().
Here is the caller graph for this function:
|
static |
sorting import for all container objects
Definition at line 365 of file class.ilContainerSortingSettings.php.
References ILIAS\LTI\ToolProvider\$settings, ilContainer\SORT_ACTIVATION, ilContainer\SORT_CREATION, ilContainer\SORT_MANUAL, and ilContainer\SORT_TITLE.
Referenced by ilCategoryXmlParser\handlerBeginTag(), ilCourseXMLParser\handlerBeginTag(), ilFolderXmlParser\handlerBeginTag(), and ilGroupXMLParser\initContainerSorting().
Here is the caller graph for this function:
|
static |
Definition at line 122 of file class.ilContainerSortingSettings.php.
References $DIC, $ilDB, $query, $res, ilDBConstants\FETCHMODE_OBJECT, lookupSortModeFromParentContainer(), and ilContainer\SORT_INHERIT.
Referenced by ilObjLinkResourceGUI\activateTabs(), ilObjLinkResourceGUI\initFormSettings(), ilContainerGUI\isActiveItemOrdering(), ilObjCourse\read(), ilObjFolder\read(), ilObjGroup\read(), ilContainer\read(), ilWebLinkItemsContainer\sort(), ilObjLinkResource\toXML(), and ilObjLinkResourceGUI\view().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 106 of file class.ilContainerSortingSettings.php.
References $DIC, $ilDB, $query, $res, ilDBConstants\FETCHMODE_OBJECT, and ilContainer\SORT_INHERIT.
| ilContainerSortingSettings::delete | ( | ) |
Definition at line 248 of file class.ilContainerSortingSettings.php.
| ilContainerSortingSettings::getInheritedSettings | ( | int | $a_container_obj_id | ) |
Definition at line 75 of file class.ilContainerSortingSettings.php.
References $obj_id, $ref_id, $tree, ilObject\_getAllReferences(), ilObject\_lookupObjId(), ilTree\checkForParentType(), getInheritedSettings(), getInstanceByObjId(), and ilContainer\SORT_INHERIT.
Referenced by getInheritedSettings(), and loadEffectiveSettings().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 47 of file class.ilContainerSortingSettings.php.
Referenced by getInheritedSettings(), ilCourseXMLParser\handlerBeginTag(), lookupSortModeFromParentContainer(), and ilContainerSorting\read().
Here is the caller graph for this function:| ilContainerSortingSettings::getSortDirection | ( | ) |
Definition at line 183 of file class.ilContainerSortingSettings.php.
References ilContainer\SORT_DIRECTION_ASC.
| ilContainerSortingSettings::getSortMode | ( | ) |
Definition at line 178 of file class.ilContainerSortingSettings.php.
Referenced by loadEffectiveSettings().
Here is the caller graph for this function:| ilContainerSortingSettings::getSortNewItemsOrder | ( | ) |
Definition at line 193 of file class.ilContainerSortingSettings.php.
| ilContainerSortingSettings::getSortNewItemsPosition | ( | ) |
Definition at line 188 of file class.ilContainerSortingSettings.php.
| ilContainerSortingSettings::loadEffectiveSettings | ( | ) |
Load inherited settings.
Definition at line 55 of file class.ilContainerSortingSettings.php.
References getInheritedSettings(), getSortMode(), ilContainer\SORT_INHERIT, and ilContainer\SORT_TITLE.
Referenced by ilContainerSorting\read().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 141 of file class.ilContainerSortingSettings.php.
References ILIAS\LTI\ToolProvider\$settings, and getInstanceByObjId().
Referenced by _lookupSortMode().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 256 of file class.ilContainerSortingSettings.php.
References $query, $res, ilDBConstants\FETCHMODE_OBJECT, and ILIAS\Repository\int().
Referenced by __construct().
Here is the call graph for this function:
Here is the caller graph for this function:| ilContainerSortingSettings::save | ( | ) |
Definition at line 232 of file class.ilContainerSortingSettings.php.
| ilContainerSortingSettings::setSortDirection | ( | int | $a_direction | ) |
Definition at line 206 of file class.ilContainerSortingSettings.php.
| ilContainerSortingSettings::setSortMode | ( | int | $a_mode | ) |
| int | $a_mode | MODE_TITLE | MODE_MANUAL | MODE_ACTIVATION |
Definition at line 201 of file class.ilContainerSortingSettings.php.
Referenced by ilContainerGUI\saveSortingSettings().
Here is the caller graph for this function:| ilContainerSortingSettings::setSortNewItemsOrder | ( | int | $a_order | ) |
Definition at line 216 of file class.ilContainerSortingSettings.php.
| ilContainerSortingSettings::setSortNewItemsPosition | ( | int | $a_position | ) |
Definition at line 211 of file class.ilContainerSortingSettings.php.
|
static |
Get string representation of sort mode.
Definition at line 278 of file class.ilContainerSortingSettings.php.
References $DIC, $lng, ilContainer\SORT_ACTIVATION, ilContainer\SORT_CREATION, ilContainer\SORT_MANUAL, and ilContainer\SORT_TITLE.
| ilContainerSortingSettings::update | ( | ) |
Definition at line 221 of file class.ilContainerSortingSettings.php.
|
protected |
Definition at line 32 of file class.ilContainerSortingSettings.php.
|
staticprivate |
Definition at line 26 of file class.ilContainerSortingSettings.php.
|
protected |
Definition at line 31 of file class.ilContainerSortingSettings.php.
|
protected |
Definition at line 30 of file class.ilContainerSortingSettings.php.
|
protected |
Definition at line 27 of file class.ilContainerSortingSettings.php.
Referenced by getInheritedSettings().
|
protected |
Definition at line 29 of file class.ilContainerSortingSettings.php.
|
protected |
Definition at line 28 of file class.ilContainerSortingSettings.php.
|
protected |
Definition at line 24 of file class.ilContainerSortingSettings.php.
Referenced by getInheritedSettings().