Class XOAD_HTML_DOM_ElementById

Description

XOAD HTML DOM Element By Id Class.

  • version: 0.6.0.0
  • author: Stanimir Angeloff

Located in /extensions/html/classes/DOM/ElementById.class.php (line 34)

XOAD_HTML_DOM_BaseElement
   |
   --XOAD_HTML_DOM_ElementById
Method Summary
 XOAD_HTML_DOM_ElementById XOAD_HTML_DOM_ElementById (string $id)
 void blur ()
 void focus ()
 string getElement ()
 string process (string $element)
Variables
Methods
Constructor XOAD_HTML_DOM_ElementById (line 44)

Creates a new instance of the XOAD_HTML_DOM_ElementById class.

  • access: public
XOAD_HTML_DOM_ElementById XOAD_HTML_DOM_ElementById (string $id)
  • string $id: String that holds the ID of the element.
blur (line 81)

This method removes keyboard focus from the element.

Example:

  1. $content =& XOAD_HTML::getElementById('content');
  2.  
  3. $content->blur();

  • access: public
void blur ()
focus (line 101)

This method sets focus on the element.

Example:

  1. $content =& XOAD_HTML::getElementById('content');
  2.  
  3. $content->focus();

  • access: public
void focus ()
getElement (line 61)

Returns the JavaScript name of the element.

  • return: The JavaScript name of the element.
  • access: public
string getElement ()
process (line 120)

Returns the JavaScript code of the DOM element.

You should not call this method directly.

  • return: JavaScript source code for the DOM element.
  • static:
  • access: public
string process (string $element)
  • string $element: The JavaScript element name.

Redefinition of:
XOAD_HTML_DOM_BaseElement::process()
Returns the JavaScript code of the DOM element.

Inherited Methods

Inherited From XOAD_HTML_DOM_BaseElement

 XOAD_HTML_DOM_BaseElement::XOAD_HTML_DOM_BaseElement()
 XOAD_HTML_DOM_BaseElement::process()
 XOAD_HTML_DOM_BaseElement::removeAttribute()
 XOAD_HTML_DOM_BaseElement::setAttribute()

Documentation generated on Sat, 12 Nov 2005 20:24:01 +0200 by phpDocumentor 1.3.0RC3