%3 ::xowiki::Link::localimage ::xowiki::Link::localimage render ::xowiki::Link::image ::xowiki::Link::image render render_found resolve_href ::xowiki::Link::localimage->::xowiki::Link::image ::xowiki::Link::file ::xowiki::Link::file align autostart controller controls endtime href loop mastersound name pluginspage pluginurl render_found starttime volume ::xowiki::Link::file->::xowiki::Link::image ::xowiki::Link ::xowiki::Link ::xowiki::Link::image->::xowiki::Link ::xowiki::Link::js ::xowiki::Link::js render_found ::xowiki::Link::js->::xowiki::Link::file ::xowiki::Link::swf ::xowiki::Link::swf render_found ::xowiki::Link::swf->::xowiki::Link::file ::xowiki::Link::css ::xowiki::Link::css render_found ::xowiki::Link::css->::xowiki::Link::file

Class ::xowiki::Link::file

::xowiki::Link::file[i] create ... \
           [ -height height ] \
           [ -hidden hidden ] \
           [ -width width ]

Class Relations

  • class: ::xotcl::Class[i]
  • superclass: ::xowiki::Link::image[i]
  • subclass: ::xowiki::Link::js[i], ::xowiki::Link::swf[i], ::xowiki::Link::css[i]
::xotcl::Class create ::xowiki::Link::file \
     -superclass ::xowiki::Link::image

Methods (to be applied on instances)

  • align (scripted, private, deprecated)

     <instance of xowiki::Link::file[i]> align value
    Deprecated.

    Provide warning for deprecated HTML attribute; this will be removed in releases after OpenACS 5.10.

    Parameters:
    value

    Partial Call Graph (max 5 caller/called nodes):
    %3

    Testcases:
    No testcase defined.
    if {[info exists value]} {
      set :[self proc] $value
    }
    return [set :[self proc]]
  • autostart (scripted, private, deprecated)

     <instance of xowiki::Link::file[i]> autostart value
    Deprecated.

    Provide warning for deprecated HTML attribute; this will be removed in releases after OpenACS 5.10.

    Parameters:
    value

    Partial Call Graph (max 5 caller/called nodes):
    %3

    Testcases:
    No testcase defined.
    if {[info exists value]} {
      set :[self proc] $value
    }
    return [set :[self proc]]
  • controller (scripted, private, deprecated)

     <instance of xowiki::Link::file[i]> controller value
    Deprecated.

    Provide warning for deprecated HTML attribute; this will be removed in releases after OpenACS 5.10.

    Parameters:
    value

    Partial Call Graph (max 5 caller/called nodes):
    %3

    Testcases:
    No testcase defined.
    if {[info exists value]} {
      set :[self proc] $value
    }
    return [set :[self proc]]
  • controls (scripted, private, deprecated)

     <instance of xowiki::Link::file[i]> controls value
    Deprecated.

    Provide warning for deprecated HTML attribute; this will be removed in releases after OpenACS 5.10.

    Parameters:
    value

    Partial Call Graph (max 5 caller/called nodes):
    %3

    Testcases:
    No testcase defined.
    if {[info exists value]} {
      set :[self proc] $value
    }
    return [set :[self proc]]
  • endtime (scripted, private, deprecated)

     <instance of xowiki::Link::file[i]> endtime value
    Deprecated.

    Provide warning for deprecated HTML attribute; this will be removed in releases after OpenACS 5.10.

    Parameters:
    value

    Partial Call Graph (max 5 caller/called nodes):
    %3

    Testcases:
    No testcase defined.
    if {[info exists value]} {
      set :[self proc] $value
    }
    return [set :[self proc]]
  • height (setter)

  • hidden (setter)

  • href (scripted, private, deprecated)

     <instance of xowiki::Link::file[i]> href value
    Deprecated.

    Provide warning for deprecated HTML attribute; this will be removed in releases after OpenACS 5.10.

    Parameters:
    value

    Partial Call Graph (max 5 caller/called nodes):
    %3

    Testcases:
    No testcase defined.
    if {[info exists value]} {
      set :[self proc] $value
    }
    return [set :[self proc]]
  • loop (scripted, private, deprecated)

     <instance of xowiki::Link::file[i]> loop value
    Deprecated.

    Provide warning for deprecated HTML attribute; this will be removed in releases after OpenACS 5.10.

    Parameters:
    value

    Partial Call Graph (max 5 caller/called nodes):
    %3

    Testcases:
    No testcase defined.
    if {[info exists value]} {
      set :[self proc] $value
    }
    return [set :[self proc]]
  • mastersound (scripted, private, deprecated)

     <instance of xowiki::Link::file[i]> mastersound value
    Deprecated.

    Provide warning for deprecated HTML attribute; this will be removed in releases after OpenACS 5.10.

    Parameters:
    value

    Partial Call Graph (max 5 caller/called nodes):
    %3

    Testcases:
    No testcase defined.
    if {[info exists value]} {
      set :[self proc] $value
    }
    return [set :[self proc]]
  • name (scripted, private, deprecated)

     <instance of xowiki::Link::file[i]> name value
    Deprecated.

    Provide warning for deprecated HTML attribute; this will be removed in releases after OpenACS 5.10.

    Parameters:
    value

    Partial Call Graph (max 5 caller/called nodes):
    %3

    Testcases:
    No testcase defined.
    if {[info exists value]} {
      set :[self proc] $value
    }
    return [set :[self proc]]
  • pluginspage (scripted, private, deprecated)

     <instance of xowiki::Link::file[i]> pluginspage value
    Deprecated.

    Provide warning for deprecated HTML attribute; this will be removed in releases after OpenACS 5.10.

    Parameters:
    value

    Partial Call Graph (max 5 caller/called nodes):
    %3

    Testcases:
    No testcase defined.
    if {[info exists value]} {
      set :[self proc] $value
    }
    return [set :[self proc]]
  • pluginurl (scripted, private, deprecated)

     <instance of xowiki::Link::file[i]> pluginurl value
    Deprecated.

    Provide warning for deprecated HTML attribute; this will be removed in releases after OpenACS 5.10.

    Parameters:
    value

    Partial Call Graph (max 5 caller/called nodes):
    %3

    Testcases:
    No testcase defined.
    if {[info exists value]} {
      set :[self proc] $value
    }
    return [set :[self proc]]
  • render_found (scripted)

    #
    # Many of the attributes below are from HTML4 and deprecated (see
    # "deprecated_attribute" above). We just removed "href" from the list
    # of still accepted attributes, since this is set often via BaseLink,
    # and it could harm applications, where the "<EMBED href> variant of the
    # stopped working due to newer browsers, stopping to support legacy
    # HTML attributes.
    #
    foreach f {
      width height align pluginspage pluginurl hidden href
      autostart loop volume controls controller mastersound starttime endtime
    } {
      if {[info exists :$f]} {
        append embed_options "$f = '[set :$f]' "
      }
    }
    if {[info exists :extra_query_parameter]} {
      set pairs {}
      foreach {pair} ${:extra_query_parameter} {
        lappend pairs [lindex $pair 0]=[ns_urlencode [lindex $pair 1]]
      }
      append internal_href ?[string map [list ' "&apos;"] [join $pairs &]]
      if {[info exists :revision_id]} {append internal_href &revision_id=${:revision_id}}
    } else {
      if {[info exists :revision_id]} {append internal_href ?revision_id=${:revision_id}}
    }
    if {![info exists embed_options]} {
      return "<a href='[ns_quotehtml $internal_href]' [:mk_css_class_and_id -additional file]>$label</a>"
    } else {
      set internal_href [string map [list %2e .] $internal_href]
      return "<embed src='[ns_quotehtml $internal_href]' name=\"${:name}\" $embed_options></embed>"
    }
  • starttime (scripted, private, deprecated)

     <instance of xowiki::Link::file[i]> starttime value
    Deprecated.

    Provide warning for deprecated HTML attribute; this will be removed in releases after OpenACS 5.10.

    Parameters:
    value

    Partial Call Graph (max 5 caller/called nodes):
    %3

    Testcases:
    No testcase defined.
    if {[info exists value]} {
      set :[self proc] $value
    }
    return [set :[self proc]]
  • volume (scripted, private, deprecated)

     <instance of xowiki::Link::file[i]> volume value
    Deprecated.

    Provide warning for deprecated HTML attribute; this will be removed in releases after OpenACS 5.10.

    Parameters:
    value

    Partial Call Graph (max 5 caller/called nodes):
    %3

    Testcases:
    No testcase defined.
    if {[info exists value]} {
      set :[self proc] $value
    }
    return [set :[self proc]]
  • width (setter)