Class ::xo::Localizer

::xo::Localizer[i] create ... \
           [ -key key ] \
           [ -type type ] \
           [ -url url ]

Class Relations

  • class: ::xotcl::Class[i]
  • superclass: ::xotcl::Object[i]
::xotcl::Class create ::xo::Localizer \
     -superclass ::xotcl::Object

Methods (to be applied on instances)

  • key (setter)

  • render (scripted)

    switch -- ${: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::a -class "acs-lang-${:type}" -title ${:key} -href ${:url} {}
  • type (setter)

  • url (setter)