xowiki::FormPage instproc is_folder_page (public)
<instance of xowiki::FormPage> is_folder_page \ [ -include_folder_links include_folder_links ]
Defined in /var/www/openacs.org/packages/xowiki/tcl/xowiki-procs.tcl
Check, if FormPage is a folder. A FormPage is a folder when its page template is the folder.form or if this is a link pointing to a folder.
- Switches:
- -include_folder_links (optional, defaults to
"true"
)- return true, if the current page is a link to a folder.
- Returns:
- boolean
- Testcases:
- xowiki_test_cases