plsql-subprograms-all.tcl

Lists all subprograms (packages, procedures, or functions) in the database.

Location:
/packages/acs-api-browser/www/plsql-subprograms-all.tcl
Author:
Michael Yoon <michael@arsdigita.com>
Created:
2000-08-23
CVS ID:
$Id: plsql-subprograms-all.tcl,v 1.5.2.1 2022/10/27 10:58:22 gustafn Exp $

Related Files

[ hide source ] | [ make this the default ]

File Contents

ad_page_contract {
    Lists all subprograms (packages, procedures, or functions) in the
    database.

    @author Michael Yoon (michael@arsdigita.com)
    @creation-date 2000-08-23
    @cvs-id $Id: plsql-subprograms-all.tcl,v 1.5.2.1 2022/10/27 10:58:22 gustafn Exp $
} -properties {
    title:onevalue
    context:onevalue
    all_subprograms:multirow
}

set context [list "All PL/SQL Subprograms"]

#
# Organize the subprograms und types like FUNCTION, PROCEDURE, and
# PACKAGE in oracle or FUNCTION in PostgreSQL
#
db_multirow -extend { url label } all_subprograms all_subprograms {} {
    set url [export_vars -base plsql-subprogram-one {type name}]
    set label [string tolower $name]
    if {$nargs > 0} {
        append label /$nargs
    }
}

# Local variables:
#    mode: tcl
#    tcl-indent-level: 4
#    indent-tabs-mode: nil
# End: