ILIAS
Release_4_0_x_branch Revision 61816
|
Public Member Functions | |
__construct ($a_obj_id) | |
Constructor. | |
_isManualSortingEnabled ($a_obj_id) | |
is manual sorting enabled | |
getSortMode () | |
get sort mode | |
setSortMode ($a_mode) | |
set sort mode | |
update () | |
Update. | |
save () | |
save settings |
Static Public Member Functions | |
static | _lookupSortMode ($a_obj_id) |
lookup sort mode | |
static | readSortMode ($a_obj_id) |
Read sort mode. | |
static | _cloneSettings ($a_old_id, $a_new_id) |
Clone settings. |
Protected Attributes | |
$obj_id | |
$sort_mode | |
$db |
Private Member Functions | |
read () | |
read settings |
Definition at line 35 of file class.ilContainerSortingSettings.php.
ilContainerSortingSettings::__construct | ( | $a_obj_id | ) |
|
static |
Clone settings.
public
int | orig obj_id @þaram int new obj_id |
Definition at line 139 of file class.ilContainerSortingSettings.php.
References $ilDB, $ilLog, $query, $res, and $row.
ilContainerSortingSettings::_isManualSortingEnabled | ( | $a_obj_id | ) |
is manual sorting enabled
public
int | obj_id |
Definition at line 125 of file class.ilContainerSortingSettings.php.
References _lookupSortMode(), and ilContainer\SORT_MANUAL.
Referenced by ilContainerSorting\read().
|
static |
lookup sort mode
public
int | obj_id |
Definition at line 67 of file class.ilContainerSortingSettings.php.
References $ilDB, $query, $ref_id, $res, $row, ilObject\_getAllReferences(), ilObject\_lookupObjId(), DB_FETCHMODE_OBJECT, and ilContainer\SORT_TITLE.
Referenced by _isManualSortingEnabled(), ilContainerGUI\addStandardRow(), ilObjFolder\read(), ilContainerSorting\read(), ilObjGroup\read(), and ilContainer\read().
ilContainerSortingSettings::getSortMode | ( | ) |
get sort mode
public
Definition at line 169 of file class.ilContainerSortingSettings.php.
|
private |
read settings
private
Definition at line 228 of file class.ilContainerSortingSettings.php.
References $query, $res, $row, and DB_FETCHMODE_OBJECT.
Referenced by __construct().
|
static |
Read sort mode.
object | $a_obj_id |
Definition at line 106 of file class.ilContainerSortingSettings.php.
References $ilDB, $res, $row, DB_FETCHMODE_OBJECT, and ilContainer\SORT_TITLE.
Referenced by ilObjLinkResourceGUI\activateTabs(), ilObjLinkResourceGUI\initFormSettings(), ilWebResourceLinkTableGUI\initSorting(), and ilLinkResourceItems\sortItems().
ilContainerSortingSettings::save | ( | ) |
save settings
public
Definition at line 209 of file class.ilContainerSortingSettings.php.
References $ilDB, $query, and $res.
Referenced by update().
ilContainerSortingSettings::setSortMode | ( | $a_mode | ) |
set sort mode
public
int | MODE_TITLE | MODE_MANUAL | MODE_ACTIVATION |
Definition at line 181 of file class.ilContainerSortingSettings.php.
Referenced by ilContainer\cloneObject(), ilObjCategoryGUI\saveObject(), ilObjLinkResourceGUI\saveSettingsObject(), ilObjRootFolderGUI\updateObject(), and ilObjCategoryGUI\updateObject().
ilContainerSortingSettings::update | ( | ) |
Update.
public
Definition at line 192 of file class.ilContainerSortingSettings.php.
References $ilDB, $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.