xowiki::page_templates (private)
xowiki::page_templates
Defined in packages/xowiki/tcl/xowiki-form-procs.tcl
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
Source code: set form ::xowiki::f1 ;# form has to be named this way for the time being #set form [lindex [::xowiki::WikiForm info instances -closure] 0] $form instvar folder_id set q [::xowiki::PageTemplate instance_select_query -folder_id $folder_id -with_subtypes false -select_attributes {name}] set lpairs "" xo::dc foreach get_page_templates $q { lappend lpairs [list $name $item_id] } if {$lpairs eq ""} { return [list "(No Page Template available)" ""] } return $lpairsXQL Not present: Generic, PostgreSQL, Oracle