- Publicity: Public Only All
callback-procs.tcl
Callback definitions
- Location:
- packages/acs-subsite/tcl/callback-procs.tcl
- Created:
- 2005-03-11
- Author:
- Jeff Davis
- CVS Identification:
$Id: callback-procs.tcl,v 1.12.2.1 2019/03/10 22:01:42 gustafn Exp $
Procedures in this file
- callback::subsite::get_extra_headers::contract (private)
- callback::subsite::header_onload::contract (private)
- callback::subsite::page_plugin::contract (private)
- callback::user::registration::contract (private)
- callback::user::workspace::contract (private)
- callback::user::workspace::impl::acs-subsite (private)
Detailed information
callback::subsite::get_extra_headers::contract (private)
callback::subsite::get_extra_headers::contract
- Returns:
- any further header stuff that needs to be added
- See Also:
- subsite::page_plugin
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
callback::subsite::header_onload::contract (private)
callback::subsite::header_onload::contract
- Returns:
- any JavaScript function that needs to be loaded the callback implementation should simply do: return {your_function(params);}
- See Also:
- subsite::page_plugin
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
callback::subsite::page_plugin::contract (private)
callback::subsite::page_plugin::contract
Execute package-specific code on every page. Callbacks of this type typically call template::head::* functions to add application specific code (CSS and JavaScript) to every page (e.g. like e.g. the cookie-consent-plugin). This callback is a generalization of the callbacks "subsite::get_extra_headers" and "subsite::header_onload".
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
callback::user::registration::contract (private)
callback::user::registration::contract [ -package_id package_id ]
used to verify if there is another registration process. The implementation must return the url of the registration page.
- Switches:
- -package_id (optional)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
callback::user::workspace::contract (private)
callback::user::workspace::contract [ -user_id user_id ]
used to generate HTML fragments for display on the /pvt/home page. The HTML fragment should have an h2 header for sectioning.
- Switches:
- -user_id (optional)
- - the user to display
- See Also:
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
callback::user::workspace::impl::acs-subsite (private)
callback::user::workspace::impl::acs-subsite [ -user_id user_id ]
Generate a table showing the application group membership
- Switches:
- -user_id (optional)
- See Also:
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
Content File Source
ad_library { Callback definitions @author Jeff Davis <davis@xarg.net> @creation-date 2005-03-11 @cvs-id $Id: callback-procs.tcl,v 1.12.2.1 2019/03/10 22:01:42 gustafn Exp $ } d_proc -public -callback user::workspace { -user_id } { used to generate HTML fragments for display on the /pvt/home page. The HTML fragment should have an h2 header for sectioning. @param user_id - the user to display @see callback::user::workspace::impl::acs-subsite } - d_proc -public -callback user::workspace -impl acs-subsite { -user_id } { Generate a table showing the application group membership } { set themed_template [template::themed_template /packages/acs-subsite/lib/user-subsites] return [template::adp_include $themed_template [list user_id $user_id]] } d_proc -public -callback user::registration { -package_id } { used to verify if there is another registration process. The implementation must return the url of the registration page. } - d_proc -callback subsite::get_extra_headers { } { @return any further header stuff that needs to be added @see subsite::page_plugin } - d_proc -callback subsite::header_onload { } { @return any JavaScript function that needs to be loaded the callback implementation should simply do: return {your_function(params);} @see subsite::page_plugin } - d_proc -callback subsite::page_plugin { } { Execute package-specific code on every page. Callbacks of this type typically call template::head::* functions to add application specific code (CSS and JavaScript) to every page (e.g. like e.g. the cookie-consent-plugin). This callback is a generalization of the callbacks "subsite::get_extra_headers" and "subsite::header_onload". } - # Local variables: # mode: tcl # tcl-indent-level: 4 # indent-tabs-mode: nil # End: