ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
|
User settings for workspace folders. More...
Public Member Functions | |
__construct (int $user_id, ilWorkspaceFolderUserSettingsRepository $repo, ilWorkspaceTree $tree=null) | |
Constructor. More... | |
getSortation (int $wfld_id) | |
Get Sortation of workspace folder. More... | |
updateSortation (int $wfld_id, int $sortation) | |
Update sortation for workspace folder. More... | |
getEffectiveSortation (int $wfld_wsp_id) | |
Get effective sortation for a workspace folder (next upper context that has sortation > 0) More... | |
Protected Attributes | |
$tree | |
$user_id | |
$repo | |
User settings for workspace folders.
Definition at line 10 of file class.ilWorkspaceFolderUserSettings.php.
ilWorkspaceFolderUserSettings::__construct | ( | int | $user_id, |
ilWorkspaceFolderUserSettingsRepository | $repo, | ||
ilWorkspaceTree | $tree = null |
||
) |
Constructor.
Definition at line 30 of file class.ilWorkspaceFolderUserSettings.php.
References $repo, $tree, and $user_id.
ilWorkspaceFolderUserSettings::getEffectiveSortation | ( | int | $wfld_wsp_id | ) |
Get effective sortation for a workspace folder (next upper context that has sortation > 0)
int | $wfld_wsp_id |
Definition at line 72 of file class.ilWorkspaceFolderUserSettings.php.
References $tree, and ilWorkspaceFolderSorting\SORT_ALPHABETICAL_ASC.
ilWorkspaceFolderUserSettings::getSortation | ( | int | $wfld_id | ) |
Get Sortation of workspace folder.
int | $wfld_id | folder object id |
Definition at line 44 of file class.ilWorkspaceFolderUserSettings.php.
References ilObject\_lookupType(), ilWorkspaceFolderSorting\SORT_ALPHABETICAL_ASC, and ilWorkspaceFolderSorting\SORT_DERIVED.
ilWorkspaceFolderUserSettings::updateSortation | ( | int | $wfld_id, |
int | $sortation | ||
) |
Update sortation for workspace folder.
int | $wfld_id | folder object id |
int | $sortation |
Definition at line 61 of file class.ilWorkspaceFolderUserSettings.php.
|
protected |
Definition at line 25 of file class.ilWorkspaceFolderUserSettings.php.
Referenced by __construct().
|
protected |
Definition at line 15 of file class.ilWorkspaceFolderUserSettings.php.
Referenced by __construct(), and getEffectiveSortation().
|
protected |
Definition at line 20 of file class.ilWorkspaceFolderUserSettings.php.
Referenced by __construct().