lang::catalog::get_catalog_files (private)

 lang::catalog::get_catalog_files package_key

Defined in packages/acs-lang/tcl/lang-catalog-procs.tcl

Return the full paths of all message catalog files of the given package.

Parameters:
package_key - The key of the package to return catalog file paths for
Returns:
A list of catalog file paths
Author:
Peter Marklund

Partial Call Graph (max 5 caller/called nodes):
%3 lang::catalog::export_to_file lang::catalog::export_to_file (private) lang::catalog::get_catalog_files lang::catalog::get_catalog_files lang::catalog::export_to_file->lang::catalog::get_catalog_files apm_is_catalog_file apm_is_catalog_file (public) lang::catalog::get_catalog_files->apm_is_catalog_file lang::catalog::package_catalog_dir lang::catalog::package_catalog_dir (public) lang::catalog::get_catalog_files->lang::catalog::package_catalog_dir

Testcases:
No testcase defined.
Source code:
    set catalog_paths [list]

    set catalog_dir [lang::catalog::package_catalog_dir $package_key]
    foreach file_path [glob -nocomplain "$catalog_dir/*"] {
        if { [apm_is_catalog_file $file_path] } {
            lappend catalog_paths $file_path
        }
    }

    return $catalog_paths
Generic XQL file:
packages/acs-lang/tcl/lang-catalog-procs.xql

PostgreSQL XQL file:
packages/acs-lang/tcl/lang-catalog-procs-postgresql.xql

Oracle XQL file:
packages/acs-lang/tcl/lang-catalog-procs-oracle.xql

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