ad_var_type_check_third_urlv_integer_p (public, deprecated)

 ad_var_type_check_third_urlv_integer_p [ args ]

Defined in packages/acs-tcl/tcl/deprecated-procs.tcl

Deprecated. Invoking this procedure generates a warning.

Deprecated: too specific to make sense as a public api, can be replaced via a simple tcl oneliner

Parameters:
args (optional)
Returns:
1 if the third path element in the URL is integer.
See Also:

Partial Call Graph (max 5 caller/called nodes):
ad_conn ad_conn (public) ad_log_deprecated ad_log_deprecated (public) ad_var_type_check_third_urlv_integer_p ad_var_type_check_third_urlv_integer_p ad_var_type_check_third_urlv_integer_p->ad_conn ad_var_type_check_third_urlv_integer_p->ad_log_deprecated

Testcases:
No testcase defined.
Source code:
ad_log_deprecated proc ad_var_type_check_third_urlv_integer_p

    set third_url_element [lindex [ad_conn urlv] 3]

    if { [regexp {[^0-9]} $third_url_element] } {
        return 0
    } else {
        return 1
    }
XQL Not present:
PostgreSQL, Oracle
Generic XQL file:
packages/acs-tcl/tcl/deprecated-procs.xql

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