Skip To Main Content
Begin Main Content
Methods: Source: Variables:
[All Methods | Documented Methods | Hide Methods] [Display Source | Hide Source] [Show Variables | Hide Variables]

::xotcl::Class[i] ::xowiki::LinkCache

Class Hierarchy of ::xowiki::LinkCache

  • ::xotcl::Object[i]
    Meta-class:
    ::xotcl::Class[i]
    Methods for instances:
    __api_make_doc, __api_make_forward_doc, __nextC, __timediff, abstract, ad_doc, ad_forward, ad_proc, appendC, arrayC, asHTML, autonameC, checkC, classC, cleanupC, configureC, contains, copy, db_1rowC, debug, defaultmethod, destroyC, destroy_on_cleanup, evalC, existsC, extractConfigureArg, filterC, filterguardC, filtersearchC, forwardC, hasclass, incrC, infoC, init, instvarC, invarC, isclassC, ismetaclassC, ismixinC, isobjectC, istypeC, lappendC, log, method, mixinC, mixinguardC, move, msg, noinitC, parametercmdC, procC, procsearchC, qn, requireNamespaceC, self, serialize, setC, substC, traceC, unsetC, uplevelC, upvarC, volatileC, vwaitC
    Methods to be applied on the class (in addition to the methods provided by the meta-class):
    __exitHandler, getExitHandler, setExitHandler, unsetExitHandler
    • ::xowiki::LinkCache[i]
      Meta-class:
      ::xotcl::Class[i]
      Methods for instances:
      resolve
      Methods to be applied on the class:
      Methods provided by the meta-class

Class Relations

  • superclass: ::xotcl::Object[i]
::xotcl::Class create ::xowiki::LinkCache \
     -superclass ::xotcl::Object

Methods

  • instproc resolve

    ::xowiki::LinkCache instproc resolve {} {
        set key link-[my type]-[my name]-[my parent_id]
        while {1} {
          array set r [ns_cache eval xowiki_cache $key {
            set id [next]
            if {$id == 0 || $id eq ""} break ;# don't cache
            return [list item_id $id package_id [my package_id]]
          }]
          break
        }
        if {![info exists r(item_id)]} {return 0}
        # we have a valid item. Set the the package_id and return the item_id
        my package_id $r(package_id)
        return $r(item_id)
      }

Methods: Source: Variables:
[All Methods | Documented Methods | Hide Methods] [Display Source | Hide Source] [Show Variables | Hide Variables]
My Calendar