- Publicity: Public Only All
bootstrap-doc-procs.tcl
Documentation for procedures defined before the OpenACS documentation API. Register these entries during acs-tcl loading, after ad_proc and the database-specific bootstrap checks have been defined. Documentation-only declarations preserve the original implementations and caller scope.
- Location:
- packages/acs-tcl/tcl/bootstrap-doc-procs.tcl
Procedures in this file
- acs_bootstrap_fatal_error (private)
- ad_parse_documentation_string (private)
- apm_bootstrap_load_queries (private)
- db_bootstrap_checks (private)
Detailed information
acs_bootstrap_fatal_error (private)
acs_bootstrap_fatal_error message [ throw_error_p ]
Record and log a fatal bootstrap error and install filters that display a service-unavailable response in place of the request processor.
- Parameters:
- message (required)
- Error message to record.
- throw_error_p (optional, defaults to
"1")- Whether to raise a bootstrap_fatal_error Tcl error after installing the failure filters.
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
ad_parse_documentation_string (private)
ad_parse_documentation_string doc_string elements_var
Parse an OpenACS documentation string into an array in the caller's scope. Replace any existing array and collect the main text and tagged elements as lists of values, preserving formatting within each element.
- Parameters:
- doc_string (required)
- Documentation text to parse.
- elements_var (required)
- Name of the caller's array to populate.
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
apm_bootstrap_load_queries (private)
apm_bootstrap_load_queries package_key
Load a package's query files for the configured database during bootstrap, including query files shared by all database types. Does not require package metadata to be available in the database.
- Parameters:
- package_key (required)
- Package whose query files should be loaded.
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
db_bootstrap_checks (private)
db_bootstrap_checks errors error_p
Perform bootstrap checks for the configured database implementation. Update the caller's error text and error flag as needed.
- Parameters:
- errors (required)
- Name of the caller's variable for diagnostic messages.
- error_p (required)
- Name of the caller's variable indicating an error.
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.