• Publicity: Public Only All

00-icanuse-procs.tcl

An API for checking optional features (name inspired by caniuse.com)

Location:
packages/acs-tcl/tcl/00-icanuse-procs.tcl
Created:
4th June 2019
Author:
Gustaf Neumann

Procedures in this file

Detailed information

acs::icanuse (public)

 acs::icanuse feature

Check, if a (previously registered) feature can be used in an installation. These features are typically version dependent features of NaviServer. The checking of the availability of these features is typically more complex than a plain "info commands ...".

Parameters:
feature - name for a feature, can contain blanks
Returns:
boolean value

Partial Call Graph (max 5 caller/called nodes):
%3 test_acs_icanuse acs_icanuse (test acs-tcl) acs::icanuse acs::icanuse test_acs_icanuse->acs::icanuse Class ::xo::Context Class ::xo::Context (public) Class ::xo::Context->acs::icanuse Object ::throttle Object ::throttle (public) Object ::throttle->acs::icanuse ad_conn ad_conn (public) ad_conn->acs::icanuse ad_enhanced_text_escape_disallowed ad_enhanced_text_escape_disallowed (private) ad_enhanced_text_escape_disallowed->acs::icanuse ad_html_to_text_put_text ad_html_to_text_put_text (private) ad_html_to_text_put_text->acs::icanuse

Testcases:
acs_icanuse

acs::register_icanuse (public)

 acs::register_icanuse feature condition

Registry function for acs::caniuse.

Parameters:
feature - name for a feature, can contain blanks
condition - expression to determine availability

Partial Call Graph (max 5 caller/called nodes):
%3 test_acs_icanuse acs_icanuse (test acs-tcl) acs::register_icanuse acs::register_icanuse test_acs_icanuse->acs::register_icanuse

Testcases:
acs_icanuse
[ show source ]