Index: openacs-4/packages/acs-content-repository/www/doc/api/keyword.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-content-repository/www/doc/api/keyword.adp,v diff -u -r1.2.2.4 -r1.2.2.5 --- openacs-4/packages/acs-content-repository/www/doc/api/keyword.adp 9 Jun 2016 13:03:11 -0000 1.2.2.4 +++ openacs-4/packages/acs-content-repository/www/doc/api/keyword.adp 1 Jul 2016 09:17:33 -0000 1.2.2.5 @@ -32,12 +32,12 @@
keyword_id: The keyword id -
+
function get_description ( keyword_id in cr_keywords.keyword_id%TYPE ) return varchar2; -
keyword_id: The keyword id -
+
function get_heading ( keyword_id in cr_keywords.keyword_id%TYPE ) return varchar2; -
keyword_id: The keyword id -
+
function get_path ( keyword_id in cr_keywords.keyword_id%TYPE ) return varchar2; -
@@ -87,8 +87,8 @@
- item_id: The item id @@ -99,24 +99,27 @@ of the following values:
- -none: Not recursive. Look for an exact match.
- -up: Recursive from specific to general. A search for -"attack dogs" will also match "dogs", "animals", "mammals", +none: Not recursive. Look for an exact +match.
- +up: Recursive from specific to general. A +search for "attack dogs" will also match +"dogs", "animals", "mammals", etc.
- -down: Recursive from general to specific. A search for -"mammals" will also match "dogs", "attack dogs", "cats", "siamese +down: Recursive from general to specific. A +search for "mammals" will also match "dogs", +"attack dogs", "cats", "siamese cats", etc.
+
function is_assigned ( item_id in cr_items.item_id%TYPE, keyword_id in cr_keywords.keyword_id%TYPE, recurse in varchar2 default 'none' ) return varchar2; -
@@ -127,22 +130,23 @@
keyword_id: The keyword id -
+
function is_leaf ( keyword_id in cr_keywords.keyword_id%TYPE ) return varchar2; -
Creates a new keyword (also known as "subject category").
Author: | Karl Goldstein | ||||
---|---|---|---|---|---|
keyword_id: | The id of the new keyword. A new id will be allocated if this parameter is null | ||||
object_type: | The type for the new keyword, defaults to 'content_keyword'. -This parameter may be used by subclasses of -content_keyword to initialize the superclass. | +object_type: | The type for the new keyword, defaults to +'content_keyword'. This parameter may be used by subclasses +of content_keyword to initialize the superclass. | ||
creation_date: | As in acs_object.new + | creation_date: | As in acs_object.new | ||
creation_ip: | As in acs_object.new + | creation_ip: | As in acs_object.new | ||
creation_user: | As in acs_object.new + | creation_user: | As in acs_object.new |
+
function new ( heading in cr_keywords.heading%TYPE, description in cr_keywords.description%TYPE default null, @@ -185,7 +189,7 @@ object_type in acs_object_types.object_type%TYPE default 'content_keyword' ) return cr_keywords.keyword_id%TYPE; -
keyword_id: The id of the keyword to be deleted -
+
procedure delete ( keyword_id in cr_keywords.keyword_id%TYPE ); -
@@ -220,13 +224,13 @@
+
procedure item_assign ( item_id in cr_items.item_id%TYPE, keyword_id in cr_keywords.keyword_id%TYPE, @@ -235,7 +239,7 @@ creation_ip in acs_objects.creation_ip%TYPE default null ); -
@@ -251,13 +255,13 @@
+
procedure item_unassign ( item_id in cr_items.item_id%TYPE, keyword_id in cr_keywords.keyword_id%TYPE ); -
@@ -273,13 +277,13 @@
+
procedure set_description ( keyword_id in cr_keywords.keyword_id%TYPE, description in cr_keywords.description%TYPE ); -
+
procedure set_heading ( keyword_id in cr_keywords.keyword_id%TYPE, heading in cr_keywords.heading%TYPE ); -
-Last Modified: $Id: keyword.html,v 1.1.1.1.30.1 2016/06/09 08:21:01 +Last Modified: $Id: keyword.html,v 1.1.1.1.30.2 2016/06/22 07:40:41 gustafn Exp $