|
|
|
File: /usr/local/apache_8080/htdocs/devel/Intra/class/phpdom/domhtml_imageelement.php
Document Object Model for PHP - phpDOM.XHTML
HTMLImageElement
Node | +-- Element | +-- HTMLElement | +-- HTMLImageElement
The HTMLImageElement-Class
|
private class HTMLImageElement extends HTMLElement
The HTMLImageElement-Class
represents an image element
|
| |
|
Methods inherited from HTMLElement |
| HTMLElement, getClassName, setStyle, setId, setClass, setTitle, setLang, getStyle, getId, getClass, getLang, getTitle |
|
Methods inherited from Element |
| Element, getTagName, getElementById, _internal_getElementById, getElementsByTagName, _internal_getElementsByTagName, setAttribute, setName, setId, getName, getId, getAttribute |
|
Methods inherited from Node |
| Node, Tag, appendChild, cloneNode, removeChild, getOwnerDocument, getFirstChild, getNextChild, getLastChild, getNodeById, hasChildNodes, hasMoreElements, getParentNode, getParent, getChildNodes, setNodeValue, getNodeValue, getAttributes, toString, getNodeName, getNodeType, addElement, _internal_toString, _internal_cloneNode, _internal_selfCheck, _internal_getNodeById |
|
|
|
Private Method Summary |
| boolean |
setAlign(string $align)setAlign set the align attribute of the paragraph |
| string |
getAlign()getAlign returns the align attribute, returns false if the attribute is not set |
| boolean |
setSrc(string $src)setSrc set the src attribute of the image tag |
| string |
getSrc()getSrc return the src attribute of the image tag |
|
|
|
|
|
Public Method Details |
HTMLImageElement |
|
public void HTMLImageElement( [ string $src ] )
|
| |
Constructor
|
| Parameter |
|
| string |
$src |
= >>""<< |
|
The source attribute of the image element! |
|
| Returns |
void |
|
|
Private Method Details |
setAlign |
|
private boolean setAlign( string $align )
|
| |
setAlign set the align attribute of the paragraph
|
| Parameter |
|
|
| Returns |
boolean true |
|
getAlign |
|
private string getAlign( )
|
| |
getAlign returns the align attribute, returns false if the attribute is not set
|
| Returns |
string $align |
|
setSrc |
|
private boolean setSrc( string $src )
|
| |
setSrc set the src attribute of the image tag
|
| Parameter |
|
|
| Returns |
boolean true |
|
getSrc |
|
private string getSrc( )
|
| |
getSrc return the src attribute of the image tag
|
| Returns |
string $src |
|
|
|
|
|
| PHPDoc 1.0beta |