Index: openacs-4/packages/acs-content-repository/www/doc/api/folder.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-content-repository/www/doc/api/folder.adp,v diff -u -r1.2.2.2 -r1.2.2.3 --- openacs-4/packages/acs-content-repository/www/doc/api/folder.adp 1 Dec 2015 11:17:40 -0000 1.2.2.2 +++ openacs-4/packages/acs-content-repository/www/doc/api/folder.adp 9 Jun 2016 08:44:49 -0000 1.2.2.3 @@ -25,12 +25,11 @@ See also: Content Item
Returns the item ID of the index page of the folder, null -otherwise
-Author: | Michael Pih |
---|---|
-
+
Returns the label for the folder. This function is the default -name method for the folder object.
-Author: | Karl Goldstein |
---|---|
See Also: | acs_object_type.create_type, the docs for the name_method parameter |
-
Determine if the folder is empty
-+
Determine if the folder is empty
Author: | Karl Goldstein |
---|---|
See Also: | content_folder.is_folder |
-
Determine if the item is a folder
-+
Determine if the item is a folder
Author: | Karl Goldstein |
---|---|
See Also: | content_folder.new, content_folder.is_sub_folder |
-
+
change this to is_type_registered Determines if a content type is registered to the folder Only items of the registered type(s) -may be added to the folder.
-Author: | Karl Goldstein |
---|---|
See Also: | content_folder.register_content_type, content_folder.unregister_content_type, |
-
+
Determine if the item target_folder_id is a subfolder of the item folder_id -
-Author: | Karl Goldstein |
---|---|
See Also: | content_folder.is_folder |
-
Create a new folder
-+
Create a new folder
Author: | Karl Goldstein |
---|---|
See Also: | acs_object.new, content_item.new |
-
+
Recursively copy the folder and all items in into a new location. An error is thrown if either of the parameters is not a folder. The root folder of the sitemap and the root folder of the -templates cannot be copied
-Author: | Karl Goldstein | ||
---|---|---|---|
Parameters: | |||
|
+
Delete a folder. An error is thrown if the folder is not -empty
-Author: | Karl Goldstein | ||
---|---|---|---|
Parameters: | |||
|
+
Recursively move the folder and all items in into a new location. An error is thrown if either of the parameters is not a folder. The root folder of the sitemap and the root folder of the -templates cannot be moved.
-Author: | Karl Goldstein | ||
---|---|---|---|
Parameters: | |||
|
+
Register a content type to the folder, if it is not already registered. Only items of the registered type(s) may be added to -the folder.
-Author: | Karl Goldstein | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Parameters: | |||||||||||||||||||
|