37         $this->tree = ($tree != null)
    44         $sort = $this->repo->getSortation($wfld_id);
    56         $this->repo->updateSortation($wfld_id, $sortation);
    70         $obj_ids = array_map(
function ($wsp_id) use ($tree) {
    71             return $tree->lookupObjectId($wsp_id);
    75         $sortations = $this->repo->getSortationMultiple($obj_ids);
    78         foreach (array_reverse($obj_ids) as 
$id) {
    79             if ($sortations[$id] > 0) {
    80                 return $sortations[
$id];
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
getSortation(int $wfld_id)
 
const SORT_ALPHABETICAL_ASC
 
ilWorkspaceFolderUserSettingsRepository $repo
 
getEffectiveSortation(int $wfld_wsp_id)
Get effective sortation for a workspace folder (next upper context that has sortation > 0) ...
 
getPathId(int $a_endnode_id, int $a_startnode_id=0)
get path from a given startnode to a given endnode if startnode is not given the rootnode is startnod...
 
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins 
 
updateSortation(int $wfld_id, int $sortation)
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
__construct(int $user_id, ilWorkspaceFolderUserSettingsRepository $repo, ilWorkspaceTree $tree=null)
 
static _lookupType(int $id, bool $reference=false)