apidoc::set_public (private)
apidoc::set_public version_id [ public_p ]
Defined in packages/acs-api-browser/tcl/acs-api-documentation-procs.tcl
Gets or sets the user's public/private preferences for a given package.
- Parameters:
- version_id (required)
- the version of the package
- public_p (optional)
- if empty, return the user's preferred setting or the default (1) if no preference found. If not empty, set the user's preference to public_p
- Returns:
- public_p
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
Source code: set public_property_name "api,package,$version_id,public_p" if { $public_p eq "" } { set public_p [ad_get_client_property acs-api-browser $public_property_name] if { $public_p eq "" } { set public_p 1 } } else { ad_set_client_property acs-api-browser $public_property_name $public_p } return $public_pXQL Not present: Generic, PostgreSQL, Oracle