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 -r1.4.2.6 -r1.4.2.7
--- openacs-4/packages/file-storage/www/doc/design.adp 1 Aug 2024 08:03:42 -0000 1.4.2.6
+++ openacs-4/packages/file-storage/www/doc/design.adp 2 Sep 2024 09:40:28 -0000 1.4.2.7
@@ -2,6 +2,10 @@
{/doc/file-storage/ {File Storage}} {File Storage Design Document}
File Storage Design Document
+
File Storage Design Document
by Kevin Scaldeferri
@@ -173,104 +177,95 @@
Tcl API
-
-children_have_permission_p [ -user_id user_id ] item_idprivilege
+children_have_permission_p [ -user_id user_id ] item_idprivilege
This procedure, given a content item and a privilege,
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
|
-
-fs_context_bar_list [ -final final ] item_id
+fs_context_bar_list [ -final final ] item_id
Constructs the list to be fed to ad_context_bar
appropriate for item_id. If -final is specified, that string will
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 connkey
+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 file_id
+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 folder_id
+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 folder_id
+fs_get_folder_name folder_id
Returns the name of a folder.
-- Parameters:
-
+
- Parameters:
-
folder_id
|
-
-fs_root_folder [ -package_id package_id ]
- Returns the root folder for the file storage system.
+fs_root_folder [ -package_id package_id ] Returns the root folder for the file storage system.
-- Switches:
-
+
- Switches:
-
-package_id (optional)
|
-
-fs_version_p version_id
+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 +382,19 @@
the canonical long form of a MIME type.
XI. Authors
-
-3.x : David Hill
+System creator:
3.x : David Hill
and Aurelius Prochazka
4.x : Kevin
Scaldeferri
-
-
+ |