fs::get_folder_contents_count (public)

 fs::get_folder_contents_count [ -folder_id folder_id ] \
    [ -user_id user_id ]

Defined in packages/file-storage/tcl/file-storage-procs.tcl

Retrieve the count of contents of the specified folder.

Switches:
-folder_id (optional)
The folder for which to retrieve contents
-user_id (optional)
DEPRECATED since commit 2002-02-22 by Yonatan Feldman (yon@milliped.com) this parameter doesn't have any effect. It was used to count only items where user had read permission, but was considered unscalable.

Testcases:
fs_add_file_to_folder
[ show source ]
Show another procedure: