|
ILIAS
release_5-0 Revision 5.0.0-1144-gc4397b1f870
|
Collaboration diagram for ilContainerSortingSettings:Public Member Functions | |
| __construct ($a_obj_id=0) | |
| Constructor. 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 54 of file class.ilContainerSortingSettings.php.
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 170 of file class.ilContainerSortingSettings.php.
References $ilDB, $query, $res, and $row.
Referenced by ilContainer\cloneObject().
Here is the caller graph for this function:
|
static |
sorting XML-export for all container objects
| ilXmlWriter | $xml | |
| $obj_id |
Definition at line 387 of file class.ilContainerSortingSettings.php.
References $obj_id, 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, ilContainer\SORT_TITLE, and ilXmlWriter\xmlElement().
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 450 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 103 of file class.ilContainerSortingSettings.php.
References $ilDB, $query, $res, $row, DB_FETCHMODE_OBJECT, lookupSortModeFromParentContainer(), and ilContainer\SORT_INHERIT.
Referenced by ilObjLinkResourceGUI\activateTabs(), ilContainerGUI\addStandardRow(), 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 79 of file class.ilContainerSortingSettings.php.
References $ilDB, $query, $res, $row, DB_FETCHMODE_OBJECT, and ilContainer\SORT_INHERIT.
Referenced by lookupSortModeFromParentContainer().
Here is the caller graph for this function:| ilContainerSortingSettings::delete | ( | ) |
|
static |
Get singleton instance.
| type | $a_obj_id |
Definition at line 69 of file class.ilContainerSortingSettings.php.
Referenced by _exportContainerSortingSettings(), _importContainerSortingSettings(), ilCourseXMLParser\handlerBeginTag(), and ilContainerSorting\read().
Here is the caller graph for this function:| ilContainerSortingSettings::getSortDirection | ( | ) |
Get sort direction.
Definition at line 213 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 204 of file class.ilContainerSortingSettings.php.
| ilContainerSortingSettings::getSortNewItemsOrder | ( | ) |
GET new item order.
Definition at line 231 of file class.ilContainerSortingSettings.php.
References $new_items_order.
Referenced by ilContainerGUI\initManualSortingOptionForm().
Here is the caller graph for this function:| ilContainerSortingSettings::getSortNewItemsPosition | ( | ) |
GET new item position.
Definition at line 222 of file class.ilContainerSortingSettings.php.
References $new_items_position.
Referenced by ilContainerGUI\initManualSortingOptionForm().
Here is the caller graph for this function:
|
static |
Lookup sort mode from parent container.
| object | $a_obj_id |
Definition at line 127 of file class.ilContainerSortingSettings.php.
References $ilDB, $ref_id, $sort_mode, ilObject\_getAllReferences(), ilObject\_lookupObjId(), ilObject\_lookupType(), _readSortMode(), ilContainer\SORT_INHERIT, and ilContainer\SORT_TITLE.
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 333 of file class.ilContainerSortingSettings.php.
References $query, $res, $row, and DB_FETCHMODE_OBJECT.
Referenced by __construct().
Here is the caller graph for this function:| ilContainerSortingSettings::save | ( | ) |
save settings
@access public
Definition at line 298 of file class.ilContainerSortingSettings.php.
References $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 252 of file class.ilContainerSortingSettings.php.
| ilContainerSortingSettings::setSortMode | ( | $a_mode | ) |
set sort mode
@access public
| int | MODE_TITLE | MODE_MANUAL | MODE_ACTIVATION |
Definition at line 243 of file class.ilContainerSortingSettings.php.
| ilContainerSortingSettings::setSortNewItemsOrder | ( | $a_order | ) |
SET new item order.
| int | $a_order |
Definition at line 270 of file class.ilContainerSortingSettings.php.
| ilContainerSortingSettings::setSortNewItemsPosition | ( | $a_position | ) |
SET new item position.
| int | $a_position |
Definition at line 261 of file class.ilContainerSortingSettings.php.
|
static |
get String representation of sort mode
| int | $a_sort_mode |
Definition at line 359 of file class.ilContainerSortingSettings.php.
References $lng, ilContainer\SORT_ACTIVATION, ilContainer\SORT_CREATION, ilContainer\SORT_MANUAL, and ilContainer\SORT_TITLE.
| ilContainerSortingSettings::update | ( | ) |
Update.
@access public
Definition at line 281 of file class.ilContainerSortingSettings.php.
References $ilDB, $query, $res, and save().
Here is the call graph for this function:
|
protected |
Definition at line 45 of file class.ilContainerSortingSettings.php.
|
staticprivate |
Definition at line 37 of file class.ilContainerSortingSettings.php.
|
protected |
Definition at line 43 of file class.ilContainerSortingSettings.php.
Referenced by getSortNewItemsOrder().
|
protected |
Definition at line 42 of file class.ilContainerSortingSettings.php.
Referenced by getSortNewItemsPosition().
|
protected |
Definition at line 39 of file class.ilContainerSortingSettings.php.
Referenced by _exportContainerSortingSettings(), and _importContainerSortingSettings().
|
protected |
Definition at line 41 of file class.ilContainerSortingSettings.php.
|
protected |
Definition at line 40 of file class.ilContainerSortingSettings.php.
Referenced by lookupSortModeFromParentContainer().