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 ad_log_deprecated ad_log_deprecated (public) db_list_of_lists db_list_of_lists (public) doc::package_list doc::package_list doc::package_list->ad_log_deprecated doc::package_list->db_list_of_lists

Testcases:
No testcase defined.
Source code:
ad_log_deprecated proc doc::package_list

    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: