- 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
- xo::validate_parameter_constraints (public)
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):
- Testcases:
- No testcase defined.