doc::package_list (private, deprecated)

 doc::package_list [ db ]

Defined in packages/acs-content-repository/tcl/doc-procs.tcl

Deprecated. Invoking this procedure generates a warning.

Return a list of all the packages in the data model, in form { {label value} {label value} ... }

Parameters:
db (optional)

Partial Call Graph (max 5 caller/called nodes):
%3

Testcases:
No testcase defined.
Source code:
ns_log Notice "Deprecated proc doc::package_list used:\n[ad_get_tcl_call_stack]"


    set result [db_list_of_lists get_packages ""]
    
    return $result
XQL Not present:
Generic
PostgreSQL XQL file:
<fullquery name="doc::package_list.get_packages">
    <querytext>

        select distinct 
          substr(proname,1,position('__' in proname)-1)  as label,
          substr(proname,1,position('__' in proname)-1)  as value        
        from 
          pg_proc 
        where 
          proname like '%\\\_\\\_%' 
        order by 
          label

      </querytext>
</fullquery>
packages/acs-content-repository/tcl/doc-procs-postgresql.xql

Oracle XQL file:
<fullquery name="doc::package_list.get_packages">
    <querytext>

       select distinct 
        lower(name) as label,  
        lower(name) as value 
      from 
        user_source
      where 
        type='PACKAGE'
      and
        line=1
      order by label
     
      </querytext>
</fullquery>
packages/acs-content-repository/tcl/doc-procs-oracle.xql

[ hide source ] | [ make this the default ]
Show another procedure: