Class embed

Description

Deprecated embed Object (HTML3.2) This object supports the older embed tag used to embed objects into HTML pages. for backward compatibility. In reality there is still a lot of mileage left in this tag.

Located in /html-defs.php (line 3434)

RenderableObject
   |
   --StylableObject
      |
      --HTMLObject
         |
         --embed
Variable Summary
 mixed $code
 mixed $codebase
 mixed $hidden
 mixed $mimetype
 mixed $pluginspage
Method Summary
 embed embed ([string $src = ""], [string $mimetype = ""], [string $pluginspage = ""], [string $width = ""], [string $height = ""], [string $alt = ""], [mixed $hidden = false])
 void add_attribute (string $name, string $value)
 void html ()
 void java_applet (string $code, [string $codebase = ""])
Variables
Methods
Constructor embed (line 3460)

Constructor

embed embed ([string $src = ""], [string $mimetype = ""], [string $pluginspage = ""], [string $width = ""], [string $height = ""], [string $alt = ""], [mixed $hidden = false])
  • string $src: The URL of the source data for this object
  • string $mimetype: The MIMETYPE of this object, eg: 'application/x-sockwave-flash' etc.
  • string $pluginspage: The URL for downloading the relevant plugin
  • string $width: Width of object in pixels
  • string $height: Height of object in pixels
  • string $alt: ALT text to display if object does not execute
add_attribute (line 3488)

Add non-standard attribute to be rendered.

void add_attribute (string $name, string $value)
  • string $name: Name of the new attribute
  • string $value: Value of the new attribute
html (line 3492)
void html ()

Redefinition of:
RenderableObject::html()
Return output suitable for normal HTML-capable device. This method must be over-ridden by a method of the same name in the descendant class which renders output to web browsers.
java_applet (line 3478)

Specify the parameters required for a Java applet, the name of the file containing the applet code, and the URL to find the file at.

void java_applet (string $code, [string $codebase = ""])
  • string $code: The name of the file contaiing the applet
  • string $codebase: The URL to locate the code file at

Inherited Methods

Inherited From HTMLObject

 HTMLObject::HTMLObject()
 HTMLObject::inherit_attributes()
 HTMLObject::setaccesskey()
 HTMLObject::setalign()
 HTMLObject::setalt()
 HTMLObject::setbackground()
 HTMLObject::setbgcolor()
 HTMLObject::setborder()
 HTMLObject::setcolor()
 HTMLObject::setheight()
 HTMLObject::sethspace()
 HTMLObject::setlang()
 HTMLObject::setlangdir()
 HTMLObject::setname()
 HTMLObject::setsize()
 HTMLObject::setsrc()
 HTMLObject::settabindex()
 HTMLObject::settarget()
 HTMLObject::settitle()
 HTMLObject::setvalign()
 HTMLObject::setvspace()
 HTMLObject::setwidth()
 HTMLObject::set_attribute()
 HTMLObject::set_linkover_text()
 HTMLObject::set_onblur()
 HTMLObject::set_onchange()
 HTMLObject::set_onclick()
 HTMLObject::set_ondblclick()
 HTMLObject::set_onfocus()
 HTMLObject::set_onkeydown()
 HTMLObject::set_onkeypress()
 HTMLObject::set_onkeyup()
 HTMLObject::set_onload()
 HTMLObject::set_onmousedown()
 HTMLObject::set_onmousemove()
 HTMLObject::set_onmouseout()
 HTMLObject::set_onmouseover()
 HTMLObject::set_onmouseup()
 HTMLObject::set_onselect()
 HTMLObject::set_tabindex()
 HTMLObject::taghtml()

Inherited From StylableObject

 StylableObject::StylableObject()
 StylableObject::clearstyle()
 StylableObject::setclass()
 StylableObject::setcss()
 StylableObject::setid()
 StylableObject::setstyle()

Inherited From RenderableObject

 RenderableObject::RenderableObject()
 RenderableObject::html()
 RenderableObject::render()
 RenderableObject::wml()
 RenderableObject::wmlup()
 RenderableObject::xml()

Documentation generated by phpDocumentor 1.3.0RC3