Skip to content

Commit 21885a5

Browse files
committed
feature #10203 [Finder] Add undocumented method in finder.rst (alavieille)
This PR was merged into the 2.8 branch. Discussion ---------- [Finder] Add undocumented method in finder.rst Add undocumented methods in finder.rst : `sortByAccessedTime` `sortByChangedTime` `sortByModifiedTime` Commits ------- 8cb53ca Add undocumented sortByAccessedTime, sortByChangedTime and sortByModifiedTime methods in finder component
2 parents 7d68f62 + 8cb53ca commit 21885a5

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

components/finder.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,14 @@ Sort the result by name or by type (directories first, then files)::
170170

171171
$finder->sortByType();
172172

173+
Sort the files and directories by the last accessed, changed or modified time::
174+
175+
$finder->sortByAccessedTime();
176+
177+
$finder->sortByChangedTime();
178+
179+
$finder->sortByModifiedTime();
180+
173181
.. note::
174182

175183
Notice that the ``sort*`` methods need to get all matching elements to do

0 commit comments

Comments
 (0)