Inheritance diagram for LinkElementCreator:

You can use it whenever you need ElementCreator which creates links that mirrors content in the href attribute.
Definition at line 134 of file helpers.php.
Public Member Functions | |
| __construct () | |
| create_element ($doc, $content) | |
| Call this to get new XML element. | |
|
|
Definition at line 135 of file helpers.php. 00135 {
00136 parent::__construct('a');
00137 }
|
|
||||||||||||
|
Call this to get new XML element. By default it creates a DOMElement but descendants can return arbitrary DOMNode descendant.
Reimplemented from ElementCreator. Definition at line 138 of file helpers.php. 00138 {
00139 $this->attrs['href'] = $content;
00140 return parent::create_element($doc, $content);
00141 }
|
1.4.2