xo::db::CrClass instproc folder_type (public)
<instance of xo::db::CrClass> folder_type \ [ -include_subtypes include_subtypes ] [ -folder_id folder_id ] \ operation
Defined in packages/xotcl-core/tcl/cr-procs.tcl
register the current object type for folder_id. If folder_id is not specified, use the instvar of the class instead.
- Switches:
- -include_subtypes
(defaults to"t"
) (optional)- Boolean value (t/f) to flag whether the operation should be applied on subtypes as well
- -folder_id
(optional)- Parameters:
- operation
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- xotcl_core_tutorial_4
Source code: if {$operation ne "register" && $operation ne "unregister"} { error "[self] operation for folder_type must be 'register' or 'unregister'" } if {![info exists folder_id]} { set folder_id ${:folder_id} } ::acs::dc call content_folder ${operation}_content_type -folder_id $folder_id -content_type ${:object_type} -include_subtypes $include_subtypesXQL Not present: Generic, PostgreSQL, Oracle