Class ::xo::Page

::xo::Page[i] create ...

Class Relations

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

Methods (to be applied on the object)

  • get_property (scripted)

     xo::Page[i] get_property

    Partial Call Graph (max 5 caller/called nodes):
    %3 test_create_form_with_form_instance create_form_with_form_instance (test xowiki) xo::Page proc get_property xo::Page proc get_property test_create_form_with_form_instance->xo::Page proc get_property test_xowiki xowiki (test ) test_xowiki->xo::Page proc get_property test_xowiki_test_cases xowiki_test_cases (test ) test_xowiki_test_cases->xo::Page proc get_property

    Testcases:
    xowiki_test_cases, xowiki, create_form_with_form_instance
    if {[array exists ::xo_property_${name}]} {
      return [array get ::xo_property_${name}]
    }
    return [list]
  • header_stuff (scripted)

     xo::Page[i] header_stuff

    Partial Call Graph (max 5 caller/called nodes):
    %3 test_xowiki xowiki (test ) xo::Page proc header_stuff xo::Page proc header_stuff test_xowiki->xo::Page proc header_stuff test_xowiki_test_cases xowiki_test_cases (test ) test_xowiki_test_cases->xo::Page proc header_stuff template::head::add_css template::head::add_css (public) xo::Page proc header_stuff->template::head::add_css template::head::add_script template::head::add_script (public) xo::Page proc header_stuff->template::head::add_script template::head::add_style template::head::add_style (public) xo::Page proc header_stuff->template::head::add_style

    Testcases:
    xowiki_test_cases, xowiki
    
    foreach style [:sort_keys_by_value [array get ::_xo_need_style]] {
      template::head::add_style -style $style
    }
    set count 10
    foreach file [:sort_keys_by_value [array get ::_xo_need_css]] {
      template::head::add_css -href $file -media all -order [incr count]
    }
    if {[info exists ::_xo_js_order]} {
      set statements ""
      set order 10
      foreach file $::_xo_js_order {
        if {[string match "*;*" $file]} {
          # it is not a file, but some JavaScript statements
          #append statements [string map {< "&lt;" > "&gt;"} $file] \n
          append statements $file \n
        } else {
          template::head::add_script -src $file -type text/javascript -order [incr order]
        }
      }
      if {$statements ne ""} {
        template::head::add_script -script $statements -type text/javascript -order [incr order]
      }
    }
    return ""
  • requireCSS (scripted)

     xo::Page[i] requireCSS

    Partial Call Graph (max 5 caller/called nodes):
    %3 test_create_workflow_with_instance create_workflow_with_instance (test ) xo::Page proc requireCSS xo::Page proc requireCSS test_create_workflow_with_instance->xo::Page proc requireCSS test_path_resolve path_resolve (test xowiki) test_path_resolve->xo::Page proc requireCSS test_xowf xowf (test ) test_xowf->xo::Page proc requireCSS test_xowiki_test_cases xowiki_test_cases (test xowiki) test_xowiki_test_cases->xo::Page proc requireCSS

    Testcases:
    create_workflow_with_instance, xowf, xowiki_test_cases, path_resolve
    set ::_xo_need_css($name) [expr {[array size ::_xo_need_css] + 1000 * $order}]
  • requireJS (scripted)

     xo::Page[i] requireJS

    Partial Call Graph (max 5 caller/called nodes):
    %3 test_path_resolve path_resolve (test ) xo::Page proc requireJS xo::Page proc requireJS test_path_resolve->xo::Page proc requireJS test_xowiki xowiki (test ) test_xowiki->xo::Page proc requireJS

    Testcases:
    path_resolve, xowiki
    if {![info exists ::_xo_need_js($name)]} {lappend ::_xo_js_order $name}
    set ::_xo_need_js($name)  1
  • set_property (scripted)

     xo::Page[i] set_property

    Partial Call Graph (max 5 caller/called nodes):
    %3 test_create_form_with_form_instance create_form_with_form_instance (test xowiki) xo::Page proc set_property xo::Page proc set_property test_create_form_with_form_instance->xo::Page proc set_property test_xowiki xowiki (test ) test_xowiki->xo::Page proc set_property test_xowiki_test_cases xowiki_test_cases (test ) test_xowiki_test_cases->xo::Page proc set_property

    Testcases:
    xowiki_test_cases, xowiki, create_form_with_form_instance
    set ::xo_property_${name}($element$value