- Publicity: Public Only All
etp-sc-procs.tcl
Procedures in this file
- etp::create_search_impl (public)
- etp::revision_datasource (public)
- etp::revision_url (public)
- etp::search::etp_page_revision (public)
- etp::search_impl_exists_p (public)
Detailed information
etp::create_search_impl (public)
etp::create_search_impl -content_type content_type
Creates and registers a service contract implementation alias for an ETP custom application type if it does not already exist. This will define the datasource proc for the type as etp::revision_datasource. That proc will attempt to call a specially named tcl proc of the form etp::content_type where content_type is the acs_object type of the content type. If the proc does not exist only the attributes of the default type will be used to create the datasource.
- Switches:
- -content_type (required)
- Author:
- Dave Bauer
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
etp::revision_datasource (public)
etp::revision_datasource object_id
Returns a search package compatible array
- Parameters:
- object_id (required)
- Author:
- Dave Bauer
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
etp::revision_url (public)
etp::revision_url object_id
returns the url of an etp page revision
- Parameters:
- object_id (required)
- Author:
- Dave Bauer
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
etp::search::etp_page_revision (public)
etp::search::etp_page_revision [ -array_name array_name ]
Sample Custom content type search proc We are allowed to add/modify the elements for the search compatible datasource array via upvar
- Switches:
- -array_name (optional)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
etp::search_impl_exists_p (public)
etp::search_impl_exists_p -content_type content_type
checks for the existence of a search service contract implementation and returns 1 if it exists, and 0 is it does not
- Switches:
- -content_type (required)
- Author:
- Dave Bauer
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.