|
ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
|
Collaboration diagram for ilWorkspaceFolderSorting:Public Member Functions | |
| __construct (ilLanguage $lng=null) | |
| Constructor. More... | |
| getOptionsByType ($wsp_type, $selected, $parent_effective) | |
| Get options by type. More... | |
| sortNodes ($nodes, $sorting) | |
| Sort nodes. More... | |
Data Fields | |
| const | SORT_DERIVED = 0 |
| const | SORT_ALPHABETICAL_ASC = 1 |
| const | SORT_ALPHABETICAL_DESC = 2 |
| const | SORT_CREATION_ASC = 3 |
| const | SORT_CREATION_DESC = 4 |
Protected Member Functions | |
| getLabel (int $option) | |
| Get label. More... | |
Protected Attributes | |
| $lng | |
Definition at line 11 of file class.ilWorkspaceFolderSorting.php.
| ilWorkspaceFolderSorting::__construct | ( | ilLanguage | $lng = null | ) |
Constructor.
Definition at line 27 of file class.ilWorkspaceFolderSorting.php.
|
protected |
Get label.
| int | $option |
Definition at line 74 of file class.ilWorkspaceFolderSorting.php.
References SORT_ALPHABETICAL_ASC, SORT_ALPHABETICAL_DESC, SORT_CREATION_ASC, SORT_CREATION_DESC, and SORT_DERIVED.
Referenced by getOptionsByType().
Here is the caller graph for this function:| ilWorkspaceFolderSorting::getOptionsByType | ( | $wsp_type, | |
| $selected, | |||
| $parent_effective | |||
| ) |
Get options by type.
| $wsp_type | |
| $selected | |
| $parent_effective |
Definition at line 46 of file class.ilWorkspaceFolderSorting.php.
References getLabel(), SORT_ALPHABETICAL_ASC, SORT_ALPHABETICAL_DESC, SORT_CREATION_ASC, SORT_CREATION_DESC, and SORT_DERIVED.
Here is the call graph for this function:| ilWorkspaceFolderSorting::sortNodes | ( | $nodes, | |
| $sorting | |||
| ) |
Sort nodes.
| $nodes | |
| $sorting |
Definition at line 93 of file class.ilWorkspaceFolderSorting.php.
References SORT_ALPHABETICAL_ASC, SORT_ALPHABETICAL_DESC, SORT_CREATION_ASC, SORT_CREATION_DESC, and ilUtil\sortArray().
Here is the call graph for this function:
|
protected |
Definition at line 22 of file class.ilWorkspaceFolderSorting.php.
Referenced by __construct().
| const ilWorkspaceFolderSorting::SORT_ALPHABETICAL_ASC = 1 |
Definition at line 14 of file class.ilWorkspaceFolderSorting.php.
Referenced by ilWorkspaceFolderUserSettings\getEffectiveSortation(), getLabel(), getOptionsByType(), ilWorkspaceFolderUserSettings\getSortation(), and sortNodes().
| const ilWorkspaceFolderSorting::SORT_ALPHABETICAL_DESC = 2 |
Definition at line 15 of file class.ilWorkspaceFolderSorting.php.
Referenced by getLabel(), getOptionsByType(), and sortNodes().
| const ilWorkspaceFolderSorting::SORT_CREATION_ASC = 3 |
Definition at line 16 of file class.ilWorkspaceFolderSorting.php.
Referenced by getLabel(), getOptionsByType(), and sortNodes().
| const ilWorkspaceFolderSorting::SORT_CREATION_DESC = 4 |
Definition at line 17 of file class.ilWorkspaceFolderSorting.php.
Referenced by getLabel(), getOptionsByType(), and sortNodes().
| const ilWorkspaceFolderSorting::SORT_DERIVED = 0 |
Definition at line 13 of file class.ilWorkspaceFolderSorting.php.
Referenced by getLabel(), getOptionsByType(), and ilWorkspaceFolderUserSettings\getSortation().