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] ::xo::Localizer

Class Hierarchy of ::xo::Localizer

  • ::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
    • ::xo::Localizer[i]
      Meta-class:
      ::xotcl::Class[i]
      Parameter for instances:
      key, type, url
      Methods for instances:
      render
      Methods to be applied on the class:
      Methods provided by the meta-class

Class Relations

  • superclass: ::xotcl::Object[i]
::xotcl::Class create ::xo::Localizer \
     -superclass ::xotcl::Object \
     -parameter {key type url}

Methods

  • instproc render

    ::xo::Localizer instproc render {} {
         html::a -title [my key] -href [my url] {
           set path /resources/acs-templating/xinha-nightly/plugins/
           switch -- [my type] {
    	 localized {set img ImageManager/img/btn_ok.gif}
             us_only  {set img Filter/img/ed_filter.gif}
             missing  {set img LangMarks/img/en.gif}
           }
           html::img -alt [my type] -src $path/$img -width 16 -height 16 -border 0
         }
       }

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