Index: openacs-4/packages/acs-content-repository/www/doc/api/extlink.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-content-repository/www/doc/api/extlink.adp,v diff -u -r1.2 -r1.3 --- openacs-4/packages/acs-content-repository/www/doc/api/extlink.adp 27 Oct 2014 16:39:13 -0000 1.2 +++ openacs-4/packages/acs-content-repository/www/doc/api/extlink.adp 7 Aug 2017 23:47:47 -0000 1.3 @@ -1,38 +1,51 @@ -{/doc/acs-content-repository {Content Repository}} {Package: content_extlink} +{/doc/acs-content-repository {ACS Content Repository}} {Package: content_extlink} Package: content_extlink - - -

content_extlink

-Content Repository : -content_extlink


+

 

+

Overview

+

External links are references to content pages on other web sites. They provide the basis for maintaining a hierarchy of -"bookmarks" that may be managed in a manner analogous to other -content items. In particular, external links may be tagged with -keywords and related to the site's own content items.

 

Related Objects

-See also: {content_item } -

 

API

Determines if the item is a extlink

+"bookmarks" that may be managed in a manner analogous to +other content items. In particular, external links may be tagged +with keywords and related to the site's own content items.

+

 

+

Related Objects

+ +See also: {content_item} +

 

+

API

+
- +
Author:Karl Goldstein
Returns:'t' if the item is a extlink, 'f' otherwiseReturns:'t' if the item is a extlink, 'f' +otherwise
Parameters:
-
item_id:  The item id
Declaration:

+
Declaration:

 function is_extlink (
   item_id          in cr_items.item_id%TYPE
 ) return char;
 
-
+ See Also:content_extlink.new, content_extlink.resolve -

 

Create a new extlink, an item pointing to an off-site +

 

+
  • +Function: content_extlink.new +

    Create a new extlink, an item pointing to an off-site resource

    @@ -55,16 +68,16 @@ - - - -
    Author:Karl Goldsteinextlink_id:  The id of the new extlink. A new id will be allocated by default
    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
    Declaration:
    
    +Declaration:
    
     function new (
       name          in cr_items.name%TYPE default null,
       url           in cr_extlinks.url%TYPE,
    @@ -79,24 +92,28 @@
       creation_ip   in acs_objects.creation_ip%TYPE default null
     ) return cr_extlinks.extlink_id%TYPE;
     
    -
    +
    See Also:acs_object.new, content_item.new, content_extlink.resolve -

     

    Deletes the extlink

    +

     

    +
  • +Procedure: content_extlink.delete +

    Deletes the extlink

    Author:Karl Goldstein
    Parameters:
    -
    extlink_id:  The id of the extlink to delete
    Declaration:
    
    +
    Declaration:
    
     procedure delete (
       extlink_id    in cr_extlinks.extlink_id%TYPE
     );
     
    -
    + See Also:content_extlink.new, acs_object.delete -

     

    -Last Modified: $Id: extlink.html,v 1.1.1.1 2001/03/13 22:59:26 ben -Exp $ - + +
  • + + +Last Modified: $‌Id: extlink.html,v 1.1.1.1.30.2 2016/06/22 07:40:41 +gustafn Exp $