ILIAS
release_4-4 Revision
|
Public Member Functions | |
__construct ($a_obj_id) | |
Constructor. More... | |
_isManualSortingEnabled ($a_obj_id) | |
is manual sorting enabled More... | |
getSortMode () | |
get sort mode More... | |
setSortMode ($a_mode) | |
set sort mode More... | |
update () | |
Update. More... | |
save () | |
save settings More... | |
delete () | |
Delete setting. More... | |
Static Public Member Functions | |
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... | |
Protected Member Functions | |
read () | |
read settings More... | |
Protected Attributes | |
$obj_id | |
$sort_mode | |
$db | |
Definition at line 35 of file class.ilContainerSortingSettings.php.
ilContainerSortingSettings::__construct | ( | $a_obj_id | ) |
Constructor.
public
Definition at line 49 of file class.ilContainerSortingSettings.php.
References read().
|
static |
ilContainerSortingSettings::_isManualSortingEnabled | ( | $a_obj_id | ) |
is manual sorting enabled
public
int | obj_id |
Definition at line 149 of file class.ilContainerSortingSettings.php.
References ilContainer\SORT_MANUAL.
Referenced by ilContainerSorting\read().
|
static |
lookup sort mode
public
int | obj_id |
Definition at line 83 of file class.ilContainerSortingSettings.php.
References $query, $res, $row, DB_FETCHMODE_OBJECT, and ilContainer\SORT_INHERIT.
Referenced by ilObjLinkResourceGUI\activateTabs(), ilContainerGUI\addStandardRow(), ilObjLinkResourceGUI\initFormSettings(), ilWebResourceLinkTableGUI\initSorting(), ilObjFolder\read(), ilContainerSorting\read(), ilObjGroup\read(), ilContainer\read(), ilLinkResourceItems\sortItems(), and ilObjLinkResource\toXML().
|
static |
Definition at line 59 of file class.ilContainerSortingSettings.php.
References $query, $res, $row, DB_FETCHMODE_OBJECT, and ilContainer\SORT_INHERIT.
ilContainerSortingSettings::delete | ( | ) |
Delete setting.
Definition at line 249 of file class.ilContainerSortingSettings.php.
References $query.
ilContainerSortingSettings::getSortMode | ( | ) |
get sort mode
public
Definition at line 193 of file class.ilContainerSortingSettings.php.
Referenced by ilObjFolderGUI\getEditFormCustomValues().
|
static |
Lookup sort mode from parent container.
object | $a_obj_id |
Definition at line 107 of file class.ilContainerSortingSettings.php.
References $ref_id, $sort_mode, ilObject\_getAllReferences(), ilObject\_lookupObjId(), ilObject\_lookupType(), ilContainer\SORT_INHERIT, and ilContainer\SORT_TITLE.
Referenced by ilObjFolderGUI\initEditCustomForm(), and ilObjGroupGUI\initForm().
|
protected |
read settings
private
Definition at line 264 of file class.ilContainerSortingSettings.php.
References $query, $res, $row, and DB_FETCHMODE_OBJECT.
Referenced by __construct().
ilContainerSortingSettings::save | ( | ) |
save settings
public
Definition at line 233 of file class.ilContainerSortingSettings.php.
Referenced by update().
ilContainerSortingSettings::setSortMode | ( | $a_mode | ) |
set sort mode
public
int | MODE_TITLE | MODE_MANUAL | MODE_ACTIVATION |
Definition at line 205 of file class.ilContainerSortingSettings.php.
Referenced by ilObjFolderGUI\afterSave(), ilObjCategoryGUI\afterSave(), ilContainer\cloneObject(), ilObjGroupGUI\saveObject(), ilObjLinkResourceGUI\saveSettings(), ilObjFolderGUI\updateCustom(), ilObjRootFolderGUI\updateObject(), ilObjGroupGUI\updateObject(), and ilObjCategoryGUI\updateObject().
|
static |
get String representation of sort mode
int | $a_sort_mode |
Definition at line 287 of file class.ilContainerSortingSettings.php.
References $lng, ilContainer\SORT_ACTIVATION, ilContainer\SORT_MANUAL, and ilContainer\SORT_TITLE.
Referenced by ilObjFolderGUI\initEditCustomForm().
ilContainerSortingSettings::update | ( | ) |
Update.
public
Definition at line 216 of file class.ilContainerSortingSettings.php.
References $query, $res, and save().
|
protected |
Definition at line 40 of file class.ilContainerSortingSettings.php.
|
protected |
Definition at line 37 of file class.ilContainerSortingSettings.php.
|
protected |
Definition at line 38 of file class.ilContainerSortingSettings.php.
Referenced by lookupSortModeFromParentContainer().