|
ILIAS
release_7 Revision v7.30-3-g800a261c036
|
Collaboration diagram for ilContainerSortingSettings:Public Member Functions | |
| __construct ($a_obj_id=0) | |
| Constructor. More... | |
| loadEffectiveSettings () | |
| Load inherited settings. More... | |
| getInheritedSettings ($a_container_obj_id) | |
| Read inherited settings of course/group. More... | |
| getSortMode () | |
| get sort mode More... | |
| getSortDirection () | |
| Get sort direction. More... | |
| getSortNewItemsPosition () | |
| GET new item position. More... | |
| getSortNewItemsOrder () | |
| GET new item order. More... | |
| setSortMode ($a_mode) | |
| set sort mode More... | |
| setSortDirection ($a_direction) | |
| Set sort direction. More... | |
| setSortNewItemsPosition ($a_position) | |
| SET new item position. More... | |
| setSortNewItemsOrder ($a_order) | |
| SET new item order. More... | |
| update () | |
| Update. More... | |
| save () | |
| save settings More... | |
| delete () | |
| Delete setting. More... | |
Static Public Member Functions | |
| static | getInstanceByObjId ($a_obj_id) |
| Get singleton instance. More... | |
| static | _readSortMode ($a_obj_id) |
| static | _lookupSortMode ($a_obj_id) |
| lookup sort mode More... | |
| static | lookupSortModeFromParentContainer ($a_obj_id) |
| Lookup sort mode from parent container. More... | |
| static | _cloneSettings ($a_old_id, $a_new_id) |
| Clone settings. More... | |
| static | sortModeToString ($a_sort_mode) |
| get String representation of sort mode More... | |
| static | _exportContainerSortingSettings (ilXmlWriter $xml, $obj_id) |
| sorting XML-export for all container objects More... | |
| static | _importContainerSortingSettings ($attibs, $obj_id) |
| sorting import for all container objects More... | |
Protected Member Functions | |
| read () | |
| read settings More... | |
Static Private Attributes | |
| static | $instances = array() |
Definition at line 35 of file class.ilContainerSortingSettings.php.
| ilContainerSortingSettings::__construct | ( | $a_obj_id = 0 | ) |
Constructor.
@access public
Definition at line 59 of file class.ilContainerSortingSettings.php.
References $DIC, $ilDB, and read().
Here is the call graph for this function:
|
static |
Clone settings.
@access public
| int | orig obj_id @þaram int new obj_id |
Definition at line 211 of file class.ilContainerSortingSettings.php.
|
static |
sorting XML-export for all container objects
| ilXmlWriter | $xml | |
| $obj_id |
Definition at line 428 of file class.ilContainerSortingSettings.php.
References $obj_id, $xml, getInstanceByObjId(), 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 call graph for this function:
Here is the caller graph for this function:
|
static |
sorting import for all container objects
| $attibs | array (type, direction, position, order) |
| $obj_id |
Definition at line 489 of file class.ilContainerSortingSettings.php.
References $obj_id, getInstanceByObjId(), ilContainer\SORT_ACTIVATION, ilContainer\SORT_CREATION, ilContainer\SORT_DIRECTION_ASC, ilContainer\SORT_DIRECTION_DESC, 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, ilContainer\SORT_NEW_ITEMS_POSITION_TOP, and ilContainer\SORT_TITLE.
Referenced by ilGroupXMLParser\__initContainerSorting(), ilCategoryXmlParser\handlerBeginTag(), ilCourseXMLParser\handlerBeginTag(), and ilFolderXmlParser\handlerBeginTag().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
lookup sort mode
@access public
| int | obj_id |
Definition at line 169 of file class.ilContainerSortingSettings.php.
References $DIC, $ilDB, $query, $res, $tree, ilDBConstants\FETCHMODE_OBJECT, lookupSortModeFromParentContainer(), and ilContainer\SORT_INHERIT.
Referenced by ilObjLinkResourceGUI\activateTabs(), ilObjLinkResourceGUI\initFormSettings(), ilWebResourceLinkTableGUI\initSorting(), ilContainerGUI\isActiveItemOrdering(), ilObjCourse\read(), ilObjFolder\read(), ilObjGroup\read(), ilContainer\read(), ilLinkResourceItems\sortItems(), 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 144 of file class.ilContainerSortingSettings.php.
References $DIC, $ilDB, $query, $res, ilDBConstants\FETCHMODE_OBJECT, and ilContainer\SORT_INHERIT.
| ilContainerSortingSettings::delete | ( | ) |
Delete setting.
Definition at line 360 of file class.ilContainerSortingSettings.php.
| ilContainerSortingSettings::getInheritedSettings | ( | $a_container_obj_id | ) |
Read inherited settings of course/group.
| int | $a_container_obj_id |
Definition at line 113 of file class.ilContainerSortingSettings.php.
References $obj_id, $tree, ilObject\_getAllReferences(), ilObject\_lookupObjId(), 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 |
Get singleton instance.
| type | $a_obj_id |
Definition at line 77 of file class.ilContainerSortingSettings.php.
Referenced by _exportContainerSortingSettings(), _importContainerSortingSettings(), getInheritedSettings(), ilCourseXMLParser\handlerBeginTag(), lookupSortModeFromParentContainer(), and ilContainerSorting\read().
Here is the caller graph for this function:| ilContainerSortingSettings::getSortDirection | ( | ) |
Get sort direction.
Definition at line 255 of file class.ilContainerSortingSettings.php.
References ilContainer\SORT_DIRECTION_ASC.
Referenced by ilContainerGUI\initSortingDirectionForm().
Here is the caller graph for this function:| ilContainerSortingSettings::getSortMode | ( | ) |
get sort mode
@access public
Definition at line 246 of file class.ilContainerSortingSettings.php.
Referenced by loadEffectiveSettings().
Here is the caller graph for this function:| ilContainerSortingSettings::getSortNewItemsOrder | ( | ) |
GET new item order.
Definition at line 273 of file class.ilContainerSortingSettings.php.
References $new_items_order.
| ilContainerSortingSettings::getSortNewItemsPosition | ( | ) |
GET new item position.
Definition at line 264 of file class.ilContainerSortingSettings.php.
References $new_items_position.
| ilContainerSortingSettings::loadEffectiveSettings | ( | ) |
Load inherited settings.
Definition at line 89 of file class.ilContainerSortingSettings.php.
References getInheritedSettings(), getSortMode(), ilContainer\SORT_INHERIT, and ilContainer\SORT_TITLE.
Here is the call graph for this function:
|
static |
Lookup sort mode from parent container.
| object | $a_obj_id |
Definition at line 195 of file class.ilContainerSortingSettings.php.
References getInstanceByObjId().
Referenced by _lookupSortMode(), and ilContainerGUI\initSortingForm().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
read settings
@access private
Definition at line 375 of file class.ilContainerSortingSettings.php.
References $query, $res, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by __construct().
Here is the caller graph for this function:| ilContainerSortingSettings::save | ( | ) |
save settings
@access public
Definition at line 340 of file class.ilContainerSortingSettings.php.
References $db, $ilDB, $query, and $res.
Referenced by update().
Here is the caller graph for this function:| ilContainerSortingSettings::setSortDirection | ( | $a_direction | ) |
Set sort direction.
| type | $a_direction |
Definition at line 294 of file class.ilContainerSortingSettings.php.
| ilContainerSortingSettings::setSortMode | ( | $a_mode | ) |
set sort mode
@access public
| int | MODE_TITLE | MODE_MANUAL | MODE_ACTIVATION |
Definition at line 285 of file class.ilContainerSortingSettings.php.
| ilContainerSortingSettings::setSortNewItemsOrder | ( | $a_order | ) |
SET new item order.
| int | $a_order |
Definition at line 312 of file class.ilContainerSortingSettings.php.
| ilContainerSortingSettings::setSortNewItemsPosition | ( | $a_position | ) |
SET new item position.
| int | $a_position |
Definition at line 303 of file class.ilContainerSortingSettings.php.
|
static |
get String representation of sort mode
| int | $a_sort_mode |
Definition at line 399 of file class.ilContainerSortingSettings.php.
References $DIC, $lng, ilContainer\SORT_ACTIVATION, ilContainer\SORT_CREATION, ilContainer\SORT_MANUAL, and ilContainer\SORT_TITLE.
Referenced by ilContainerGUI\initSortingForm().
Here is the caller graph for this function:| ilContainerSortingSettings::update | ( | ) |
Update.
@access public
Definition at line 323 of file class.ilContainerSortingSettings.php.
References $db, $ilDB, $query, $res, and save().
Here is the call graph for this function:
|
protected |
Definition at line 50 of file class.ilContainerSortingSettings.php.
|
staticprivate |
Definition at line 42 of file class.ilContainerSortingSettings.php.
|
protected |
Definition at line 48 of file class.ilContainerSortingSettings.php.
Referenced by getSortNewItemsOrder().
|
protected |
Definition at line 47 of file class.ilContainerSortingSettings.php.
Referenced by getSortNewItemsPosition().
|
protected |
Definition at line 44 of file class.ilContainerSortingSettings.php.
Referenced by _exportContainerSortingSettings(), _importContainerSortingSettings(), and getInheritedSettings().
|
protected |
Definition at line 46 of file class.ilContainerSortingSettings.php.
|
protected |
Definition at line 45 of file class.ilContainerSortingSettings.php.
|
protected |
Definition at line 40 of file class.ilContainerSortingSettings.php.
Referenced by _lookupSortMode(), and getInheritedSettings().