• Publicity: Public Only All

context-procs.tcl

Context handling interface Definition of a connection context, containing user info, URLs, parameters. this is used via "Package initialize"... similar as page_contracts and for included content (includelets), and used for per-connection caching as well. The intention is similar as with ad_conn, but based on objects. So far, it is pretty simple, but should get more clever in the future.

Location:
packages/xotcl-core/tcl/context-procs.tcl
Created:
2006-08-06
Author:
Gustaf Neumann <neumann@wu-wien.ac.at>
CVS Identification:
$Id: context-procs.tcl,v 1.79 2024/10/16 09:21:22 gustafn Exp $

Procedures in this file

Detailed information

xo::validate_parameter_constraints (public)

 xo::validate_parameter_constraints name constraint value

Validate the provided value against the constraints. In case of failure, return with ad_return_complaint when there is a connection, otherwise raise an error.

Parameters:
name (required)
constraint (required)
value (required)

Partial Call Graph (max 5 caller/called nodes):
%3 xo::ConnectionContext instproc form_parameter xo::ConnectionContext instproc form_parameter xo::validate_parameter_constraints xo::validate_parameter_constraints xo::ConnectionContext instproc form_parameter->xo::validate_parameter_constraints xo::ConnectionContext instproc query_parameter xo::ConnectionContext instproc query_parameter (public) xo::ConnectionContext instproc query_parameter->xo::validate_parameter_constraints xowiki::Package instproc get_parameter xowiki::Package instproc get_parameter (public) xowiki::Package instproc get_parameter->xo::validate_parameter_constraints acs::icanuse acs::icanuse (public) xo::validate_parameter_constraints->acs::icanuse ad_return_complaint ad_return_complaint (public) xo::validate_parameter_constraints->ad_return_complaint ad_script_abort ad_script_abort (public) xo::validate_parameter_constraints->ad_script_abort

Testcases:
No testcase defined.
[ show source ]