Index: openacs-4/packages/file-storage/www/doc/design.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/file-storage/www/doc/design.adp,v diff -u -N -r1.3 -r1.4 --- openacs-4/packages/file-storage/www/doc/design.adp 23 Mar 2018 23:53:01 -0000 1.3 +++ openacs-4/packages/file-storage/www/doc/design.adp 30 Apr 2018 07:57:15 -0000 1.4 @@ -179,9 +179,9 @@ checks to see if there are any children of the item on which the user does not have that privilege.
-
Switches:
+
Switches:
-user_id (optional)
-
Parameters:
+
Parameters:
item_id
privilege
@@ -195,82 +195,75 @@ be the last item in the context bar. Otherwise, the name corresponding to item_id will be used.
-
Switches:
+
Switches:
-final (optional)
-
Parameters:
+
Parameters:
item_id
-

fs_file_downloader

-fs_file_downloader connkey
+

fs_file_downloader

fs_file_downloader connkey
 
Sends the requested file to the user. Note that the path has the original file name, so the browser will have a sensible name if you save the file. Version downloads are supported by looking for the form variable version_id. We don't actually check that the version_id matches the path, we just serve it up.
-
Parameters:
+
Parameters:
conn
key
-

fs_file_p

-fs_file_p file_id
+

fs_file_p

fs_file_p file_id
 
Returns 1 if the file_id corresponds to a file in the file-storage system. Returns 0 otherwise.
-
Parameters:
+
Parameters:
file_id
-

fs_folder_p

-fs_folder_p folder_id
+

fs_folder_p

fs_folder_p folder_id
 
Returns 1 if the folder_id corresponds to a folder in the file-storage system. Returns 0 otherwise.
-
Parameters:
+
Parameters:
folder_id
-

fs_get_folder_name

-fs_get_folder_name folder_id
+

fs_get_folder_name

fs_get_folder_name folder_id
 
Returns the name of a folder.
-
Parameters:
+
Parameters:
folder_id
-

fs_root_folder

-fs_root_folder [ -package_id package_id ]
-
Returns the root folder for the file storage system. +

fs_root_folder

fs_root_folder [ -package_id package_id ]
Returns the root folder for the file storage system.
-
Switches:
+
Switches:
-package_id (optional)
-

fs_version_p

-fs_version_p version_id
+

fs_version_p

fs_version_p version_id
 
Returns 1 if the version_id corresponds to a version in the file-storage system. Returns 0 otherwise.
-
Parameters:
+
Parameters:
version_id
@@ -387,21 +380,19 @@ the canonical long form of a MIME type.

XI. Authors

-
  • System creator:
    -
-
3.x : David Hill +
  • System creator:
    3.x : David Hill and Aurelius Prochazka
    4.x : Kevin Scaldeferri -
    -
    • System owner
    +
    • +
    • System owner
      Kevin Scaldeferri
      -
      • Documentation author
      +
    • Documentation author
      Kevin Scaldeferri
      -

      XII. Revision History

      - + +

      XII. Revision History

      @@ -411,6 +402,5 @@ -
      Document Revision #Action Taken, NotesWhen?By Whom?
      0.2Revised after review by Josh11/16/2000Kevin Scaldeferri, Josh Finkler
      -
      -kevin\@arsdigita.com +

    kevin\@arsdigita.com +