ad_include_contract (public)

 ad_include_contract docstring [ args... ]

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

Define an interface between a page and an ADP <include> similar to the page_contract. This is a light-weight implementation based on the ad_page_contract. It allows one to check the passed arguments (types, optionality) and can be used for setting defaults the usual way. Using ad_include_contracts helps to improve documentation of included content.

Parameters:
docstring (required)
documentation of the include
Author:
gustaf neumann <neumann@wu-wien.ac.at>
Created:
Sept 2015
See Also:

Testcases:
page_contracts
[ show source ]
Show another procedure: