xowiki::Page instproc find_slot (public)

 <instance of xowiki::Page[i]> find_slot \
    [ -start_class start_class ] name

Defined in /var/www/openacs/packages/xowiki/tcl/xowiki-www-procs.tcl

Find a named slot for this page.

Switches:
-start_class (optional)
Optional starting class, defaulting to the page class.
Parameters:
name (required)
Slot name.
Returns:
The slot object or an empty string.

Testcases:
slot_interactions
Source code:
if {![info exists start_class]} {
  set start_class [:info class]
}
return [::xowiki::Page find_slot -start_class $start_class $name]
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: