Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 21885a5

Browse filesBrowse 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
Copy full SHA for 21885a5

File tree

Expand file treeCollapse file tree

1 file changed

+8
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+8
-0
lines changed

‎components/finder.rst

Copy file name to clipboardExpand all lines: components/finder.rst
+8Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.