Class ::xowiki::Link::file (public)
::xotcl::Class ::xowiki::Link::file
- Testcases:
- No testcase defined.
Source code: ::nsf::object::alloc ::xotcl::Class ::xowiki::Link::file {set :__default_metaclass ::xotcl::Class set :__default_superclass ::xotcl::Object} ::xowiki::Link::file instproc volume value:optional { if {[info exists value]} { set :[self proc] $value } return [set :[self proc]] } ::nsf::method::property ::xowiki::Link::file volume deprecated true ::xowiki::Link::file instproc loop value:optional { if {[info exists value]} { set :[self proc] $value } return [set :[self proc]] } ::nsf::method::property ::xowiki::Link::file loop deprecated true ::xowiki::Link::file instproc render_found {internal_href label} { # # 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 ' "'"] [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>" } } ::xowiki::Link::file instproc align value:optional { if {[info exists value]} { set :[self proc] $value } return [set :[self proc]] } ::nsf::method::property ::xowiki::Link::file align deprecated true ::xowiki::Link::file instproc controller value:optional { if {[info exists value]} { set :[self proc] $value } return [set :[self proc]] } ::nsf::method::property ::xowiki::Link::file controller deprecated true ::xowiki::Link::file instproc starttime value:optional { if {[info exists value]} { set :[self proc] $value } return [set :[self proc]] } ::nsf::method::property ::xowiki::Link::file starttime deprecated true ::xowiki::Link::file instproc mastersound value:optional { if {[info exists value]} { set :[self proc] $value } return [set :[self proc]] } ::nsf::method::property ::xowiki::Link::file mastersound deprecated true ::xowiki::Link::file instproc autostart value:optional { if {[info exists value]} { set :[self proc] $value } return [set :[self proc]] } ::nsf::method::property ::xowiki::Link::file autostart deprecated true ::xowiki::Link::file instproc name value:optional { if {[info exists value]} { set :[self proc] $value } return [set :[self proc]] } ::nsf::method::property ::xowiki::Link::file name deprecated true ::xowiki::Link::file instproc pluginurl value:optional { if {[info exists value]} { set :[self proc] $value } return [set :[self proc]] } ::nsf::method::property ::xowiki::Link::file pluginurl deprecated true ::xowiki::Link::file instproc controls value:optional { if {[info exists value]} { set :[self proc] $value } return [set :[self proc]] } ::nsf::method::property ::xowiki::Link::file controls deprecated true ::xowiki::Link::file instproc href value:optional { if {[info exists value]} { set :[self proc] $value } return [set :[self proc]] } ::nsf::method::property ::xowiki::Link::file href deprecated true ::xowiki::Link::file instproc endtime value:optional { if {[info exists value]} { set :[self proc] $value } return [set :[self proc]] } ::nsf::method::property ::xowiki::Link::file endtime deprecated true ::xowiki::Link::file instproc pluginspage value:optional { if {[info exists value]} { set :[self proc] $value } return [set :[self proc]] } ::nsf::method::property ::xowiki::Link::file pluginspage deprecated true ::xowiki::Link::file instparametercmd height ::xowiki::Link::file instparametercmd hidden ::xowiki::Link::file instparametercmd width ::nsf::relation::set ::xowiki::Link::file superclass ::xowiki::Link::image ::nx::slotObj -container slot ::xowiki::Link::file ::xowiki::Link::file::slot eval {set :__parameter { width height hidden }} ::nsf::object::alloc ::xotcl::Attribute ::xowiki::Link::file::slot::height {set :accessor public set :configurable true set :convert false set :defaultmethods {} set :disposition alias set :domain ::xowiki::Link::file set :incremental 0 set :manager ::xowiki::Link::file::slot::height set :methodname height set :multiplicity 1..1 set :name height set :parameterSpec -height set :per-object false set :position 0 set :required false set :trace none : init} ::nsf::object::alloc ::xotcl::Attribute ::xowiki::Link::file::slot::width {set :accessor public set :configurable true set :convert false set :defaultmethods {} set :disposition alias set :domain ::xowiki::Link::file set :incremental 0 set :manager ::xowiki::Link::file::slot::width set :methodname width set :multiplicity 1..1 set :name width set :parameterSpec -width set :per-object false set :position 0 set :required false set :trace none : init} ::nsf::object::alloc ::xotcl::Attribute ::xowiki::Link::file::slot::hidden {set :accessor public set :configurable true set :convert false set :defaultmethods {} set :disposition alias set :domain ::xowiki::Link::file set :incremental 0 set :manager ::xowiki::Link::file::slot::hidden set :methodname hidden set :multiplicity 1..1 set :name hidden set :parameterSpec -hidden set :per-object false set :position 0 set :required false set :trace none : init}XQL Not present: Generic, PostgreSQL, Oracle